LibreOffice Gerrit News for core on 2014-06-19
Moin! * Open changes on master for project core changed in the last 25 hours: First time contributors doing great things! + fix build error AVFoundation/AVFoundation.h: no such file or directory in https://gerrit.libreoffice.org/9769 from Douglas Mencken about module avmedia, build, postprocess + fdo#79599: use \highlightN instead of \chcbpatN in RTF import and export in https://gerrit.libreoffice.org/9776 from Norbert X about module sw, writerfilter End of freshness + related fdo#63230: Fix unit test for fdo#44286 to run in all locales in https://gerrit.libreoffice.org/9826 from Isamu Mogi about module svl + Resolves fdo#79276 Add fallback system for autocorrection of French varia in https://gerrit.libreoffice.org/9825 from Julien Nabet about module editeng, extras, include, sw + new compilerplugin returnbyref in https://gerrit.libreoffice.org/9817 from Noel Grandin about module compilerplugins, sw * Merged changes on master for project core changed in the last 25 hours: + Convert RID_SVXFLOAT_HYPERLINK_MARKWND to .ui in https://gerrit.libreoffice.org/9803 from Mihály Palenik + fdo#80084 file driver PreparedStatement: close previous ResultSet on reex in https://gerrit.libreoffice.org/9822 from Lionel Elie Mamane + Convert RID_XMLSECDLG_MACROWARN to .ui in https://gerrit.libreoffice.org/9798 from Mihály Palenik + OS X: JDK include path for JDK 1.8 in https://gerrit.libreoffice.org/9785 from Robert Antoni Buj i Gelonch + fix 'NSWindow' may not respond to '+windowNumbersWithOptions' in https://gerrit.libreoffice.org/9760 from Douglas Mencken + LOK: kill double initialize. in https://gerrit.libreoffice.org/9816 from Andrzej Hunt + related fdo#63230: Add unit test for fdo#44286 in https://gerrit.libreoffice.org/9781 from Isamu Mogi + OS X: modify rhino1_5R5 patch for JDKs = 1.5 in https://gerrit.libreoffice.org/9809 from Robert Antoni Buj i Gelonch * Abandoned changes on master for project core changed in the last 25 hours: None * Open changes needing tweaks, but being untouched for more than a week: + fdo#77985 make calc function NETWORKDAYS comply with ODFF1.2 in https://gerrit.libreoffice.org/9327 from Winfried Donkers + fdo#79018: LO hangs while opening file. in https://gerrit.libreoffice.org/9564 from Yogesh Bharate + configure, gbuild: remove Cygwin paths from make environment in https://gerrit.libreoffice.org/9698 from Michael Stahl + sw/docx export: fix handling of document with header and section(s) in https://gerrit.libreoffice.org/6248 from Pierre-Eric Pelloux-Prayer + move OpenGLContext to SAL in https://gerrit.libreoffice.org/9429 from David Tardon + Changes for Wordml in https://gerrit.libreoffice.org/9013 from Michel Messak + fdo#64945 Remove inconvenient localized symbol code. in https://gerrit.libreoffice.org/8696 from Darshana Padmadas + fdo#77716 : Paragraph spacing is not preserved after RT. in https://gerrit.libreoffice.org/9197 from Tushar Bende + Lots of changes to Tango icons in https://gerrit.libreoffice.org/7987 from Miroslav Mazel + Refactored swooxmlexport tests cases. Added function to check contents. in https://gerrit.libreoffice.org/8390 from Nikhil Walvekar + fdo#77121 Header / Footer positions not preserved after RT in https://gerrit.libreoffice.org/9235 from Priyanka Gaikwad Best, Your friendly LibreOffice Gerrit Digest Mailer Note: The bot generating this message can be found and improved here: https://gerrit.libreoffice.org/gitweb?p=dev-tools.git;a=blob;f=gerritbot/send-daily-digest ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: fdo#44286 unittest fails in non-English locale
Hi. I published the patch to gerrit https://gerrit.libreoffice.org/#/c/9826/ . Please wait a bit until the patch is merged. (2014/06/19 14:00), Lionel Elie Mamane wrote: The recently committed unittest for fdo#44286 (https://gerrit.libreoffice.org/#/c/9781/) fails on a non-English locale: $ LANG=fr_LU.UTF-8 make -rs CppunitTest_svl_qa_cppunit [build CUT] svl_qa_cppunit /home/master/src/libreoffice/workdirs/master/svl/qa/unit/svl.cxx:403:(anonymous namespace)::Test::testFdo44286 equality assertion failed - Expected: 1902-04-22 - Actual : -04-DD svl.cxx:403:Assertion Test name: (anonymous namespace)::Test::testFdo44286 equality assertion failed - Expected: 1902-04-22 - Actual : -04-DD Failures !!! Run: 7 Failure total: 1 Failures: 1 Errors: 0 -- Isamu Mogi ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-commits] core.git: svl/qa
svl/qa/unit/svl.cxx |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit d2c469cc16bf303d4f5065a438d5252a31b3a564 Author: Isamu Mogi saturda...@gmail.com Date: Thu Jun 19 23:45:38 2014 +0900 related fdo#63230: Fix unit test for fdo#44286 to run in all locales fdo#44286 test fails depending on system language. To fix it, this commit sets output language to LANGUAGE_ENGLISH_US. Erorr message: | $ LANG=fr_LU.UTF-8 make -rs CppunitTest_svl_qa_cppunit | [build CUT] svl_qa_cppunit | /home/master/src/libreoffice/workdirs/master/svl/qa/unit/svl.cxx:403:(anonymous | namespace)::Test::testFdo44286 | equality assertion failed | - Expected: 1902-04-22 | - Actual : -04-DD | | svl.cxx:403:Assertion | Test name: (anonymous namespace)::Test::testFdo44286 | equality assertion failed | - Expected: 1902-04-22 | - Actual : -04-DD | | Failures !!! | Run: 7 Failure total: 1 Failures: 1 Errors: 0 Change-Id: I58756c7508c7f02bec9c3b7b693032265d18c6ae Reviewed-on: https://gerrit.libreoffice.org/9826 Reviewed-by: Lionel Elie Mamane lio...@mamane.lu Tested-by: Lionel Elie Mamane lio...@mamane.lu diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx index 673c8d2..25bc217 100644 --- a/svl/qa/unit/svl.cxx +++ b/svl/qa/unit/svl.cxx @@ -405,7 +405,7 @@ void Test::checkPreviewString(SvNumberFormatter aFormatter, void Test::testFdo44286() { -LanguageType eLang = LANGUAGE_SYSTEM; +LanguageType eLang = LANGUAGE_ENGLISH_US; OUString sCode = -MM-DD, sExpected; double fPreviewNumber; SvNumberFormatter aFormatter(m_xContext, eLang); ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
Re: fdo#44286 unittest fails in non-English locale
Hi, I confirmed that Lionel merged the patch. Thanks a lot! (2014/06/19 14:00), Lionel Elie Mamane wrote: The recently committed unittest for fdo#44286 (https://gerrit.libreoffice.org/#/c/9781/) fails on a non-English locale: $ LANG=fr_LU.UTF-8 make -rs CppunitTest_svl_qa_cppunit [build CUT] svl_qa_cppunit /home/master/src/libreoffice/workdirs/master/svl/qa/unit/svl.cxx:403:(anonymous namespace)::Test::testFdo44286 equality assertion failed - Expected: 1902-04-22 - Actual : -04-DD svl.cxx:403:Assertion Test name: (anonymous namespace)::Test::testFdo44286 equality assertion failed - Expected: 1902-04-22 - Actual : -04-DD Failures !!! Run: 7 Failure total: 1 Failures: 1 Errors: 0 -- Isamu Mogi ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-commits] core.git: 3 commits - include/tools sfx2/source sw/source
include/tools/ref.hxx |8 ++-- sfx2/source/doc/sfxbasemodel.cxx |5 - sw/source/core/docnode/ndsect.cxx |5 - 3 files changed, 14 insertions(+), 4 deletions(-) New commits: commit 160ae9889e4d16217a7cca7d930f776f5a645ec8 Author: Stephan Bergmann sberg...@redhat.com Date: Thu Jun 19 09:28:47 2014 +0200 Catch illegal null pointer dereferences early Change-Id: I4d558e9a6e2c4e4d9feb45eb5a3fd01ee322bef8 diff --git a/include/tools/ref.hxx b/include/tools/ref.hxx index 0bf519e..87aed32 100644 --- a/include/tools/ref.hxx +++ b/include/tools/ref.hxx @@ -19,6 +19,10 @@ #ifndef INCLUDED_TOOLS_REF_HXX #define INCLUDED_TOOLS_REF_HXX +#include sal/config.h + +#include cassert + #include tools/toolsdllapi.h #include vector @@ -59,9 +63,9 @@ public: T * operator () const { return pObj; } -T * operator -() const { return pObj; } +T * operator -() const { assert(pObj != 0); return pObj; } -T operator *() const { return *pObj; } +T operator *() const { assert(pObj != 0); return *pObj; } operator T *() const { return pObj; } commit e7c1e48794df85d5cb35d67a1bab7543690f084e Author: Stephan Bergmann sberg...@redhat.com Date: Thu Jun 19 09:25:28 2014 +0200 Prevent null pointer dereference (even though the null pointer dereference in SwSection::GetBaseLink would be somewhat harmless in this case, as the result is here immediately turned into a pointer again; but it also does not look like LinkManager::Remove is designed to be called with a null pointer argument) Change-Id: Ia1560b03be6a654c1207c146c873f29788b68558 diff --git a/sw/source/core/docnode/ndsect.cxx b/sw/source/core/docnode/ndsect.cxx index 94c3f2e..b004366 100644 --- a/sw/source/core/docnode/ndsect.cxx +++ b/sw/source/core/docnode/ndsect.cxx @@ -1363,8 +1363,11 @@ void SwSectionNode::NodesArrChgd() } else { -if (CONTENT_SECTION != m_pSection-GetType()) +if (CONTENT_SECTION != m_pSection-GetType() + m_pSection-IsConnected()) +{ pDoc-GetLinkManager().Remove( m_pSection-GetBaseLink() ); +} if (m_pSection-IsServer()) pDoc-GetLinkManager().RemoveServer( m_pSection-GetObject() ); commit 80f8bf77e5420c550294048b31911fefffa12fc5 Author: Stephan Bergmann sberg...@redhat.com Date: Thu Jun 19 09:24:35 2014 +0200 Prevent null pointer dereference Change-Id: Ia197152f6ece37dd2dd2ce1b41c1dfd1a985781c diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx index 35af9e2..15a76db 100644 --- a/sfx2/source/doc/sfxbasemodel.cxx +++ b/sfx2/source/doc/sfxbasemodel.cxx @@ -778,7 +778,10 @@ void SAL_CALL SfxBaseModel::dispose() throw(RuntimeException, std::exception) m_pData-m_xDocumentMetadata.clear(); -EndListening( *m_pData-m_pObjectShell ); +if ( m_pData-m_pObjectShell.Is() ) +{ +EndListening( *m_pData-m_pObjectShell ); +} m_pData-m_xCurrent = Reference frame::XController (); m_pData-m_seqControllers = Sequence Reference frame::XController () ; ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[SOLVED] Re: Build fails on CppunitTest_svl_qa_cppunit
Solved thanks to Lionel and Isamu (see http://nabble.documentfoundation.org/fdo-44286-unittest-fails-in-non-English-locale-td4112845.html) -- View this message in context: http://nabble.documentfoundation.org/Build-fails-on-CppunitTest-svl-qa-cppunit-tp4112827p4112855.html Sent from the Dev mailing list archive at Nabble.com. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-commits] core.git: Branch 'feature/textbox' - 0 commits -
Rebased ref, commits from common ancestor: ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: include/svl oox/source sw/qa sw/source writerfilter/source
include/svl/grabbagitem.hxx |5 ++- oox/source/shape/LockedCanvasContext.hxx |5 ++- oox/source/shape/WpgContext.hxx |5 ++- oox/source/shape/WpsContext.hxx |5 ++- sw/qa/extras/rtfimport/rtfimport.cxx |6 +-- sw/source/filter/ww8/rtfattributeoutput.hxx |5 ++- writerfilter/source/dmapper/SdtHelper.hxx | 25 --- writerfilter/source/rtftok/rtfdocumentimpl.cxx| 30 -- writerfilter/source/rtftok/rtfdocumentimpl.hxx| 10 -- writerfilter/source/rtftok/rtfreferenceproperties.hxx | 10 -- writerfilter/source/rtftok/rtfsprm.cxx| 13 +++ writerfilter/source/rtftok/rtftokenizer.hxx |5 ++- writerfilter/source/rtftok/rtfvalue.cxx |3 - 13 files changed, 77 insertions(+), 50 deletions(-) New commits: commit 19863db3373effd2a4836481dd6706a0efe6db39 Author: Miklos Vajna vmik...@collabora.co.uk Date: Thu Jun 19 09:39:49 2014 +0200 indentation fixes Change-Id: Ia391ccc9889a135730f0fead11eb0b6c2f748ec4 diff --git a/include/svl/grabbagitem.hxx b/include/svl/grabbagitem.hxx index 9ba6868..c02edaa 100644 --- a/include/svl/grabbagitem.hxx +++ b/include/svl/grabbagitem.hxx @@ -30,7 +30,10 @@ public: SfxGrabBagItem(const SfxGrabBagItem rItem); virtual ~SfxGrabBagItem(); -const std::mapOUString, com::sun::star::uno::Any GetGrabBag() const { return m_aMap;} +const std::mapOUString, com::sun::star::uno::Any GetGrabBag() const +{ +return m_aMap; +} virtual bool operator==(const SfxPoolItem) const SAL_OVERRIDE; virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const SAL_OVERRIDE; diff --git a/oox/source/shape/LockedCanvasContext.hxx b/oox/source/shape/LockedCanvasContext.hxx index ab8ceae..4284eec 100644 --- a/oox/source/shape/LockedCanvasContext.hxx +++ b/oox/source/shape/LockedCanvasContext.hxx @@ -27,7 +27,10 @@ public: virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 Element, const ::oox::AttributeList rAttribs) SAL_OVERRIDE; -oox::drawingml::ShapePtr getShape() { return mpShape;} +oox::drawingml::ShapePtr getShape() +{ +return mpShape; +} protected: diff --git a/oox/source/shape/WpgContext.hxx b/oox/source/shape/WpgContext.hxx index e59cf54..694aef0 100644 --- a/oox/source/shape/WpgContext.hxx +++ b/oox/source/shape/WpgContext.hxx @@ -27,7 +27,10 @@ public: virtual oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElementToken, const oox::AttributeList rAttribs) SAL_OVERRIDE; -oox::drawingml::ShapePtr getShape() { return mpShape;} +oox::drawingml::ShapePtr getShape() +{ +return mpShape; +} protected: oox::drawingml::ShapePtr mpShape; diff --git a/oox/source/shape/WpsContext.hxx b/oox/source/shape/WpsContext.hxx index cde3532..c7678c7 100644 --- a/oox/source/shape/WpsContext.hxx +++ b/oox/source/shape/WpsContext.hxx @@ -27,7 +27,10 @@ public: virtual oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElementToken, const oox::AttributeList rAttribs) SAL_OVERRIDE; -oox::drawingml::ShapePtr getShape() { return mpShape;} +oox::drawingml::ShapePtr getShape() +{ +return mpShape; +} protected: oox::drawingml::ShapePtr mpShape; diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx index 79a4494..8d8e048 100644 --- a/sw/qa/extras/rtfimport/rtfimport.cxx +++ b/sw/qa/extras/rtfimport/rtfimport.cxx @@ -1173,10 +1173,8 @@ DECLARE_RTFIMPORT_TEST(testN825305, n825305.rtf) DECLARE_RTFIMPORT_TEST(testParaBottomMargin, para-bottom-margin.rtf) { -uno::Referencebeans::XPropertySet xPropertySet( -getStyles(ParagraphStyles)-getByName(Standard), uno::UNO_QUERY); -CPPUNIT_ASSERT_EQUAL(sal_Int32(353), -getPropertysal_Int32(xPropertySet, ParaBottomMargin)); +uno::Referencebeans::XPropertySet xPropertySet(getStyles(ParagraphStyles)-getByName(Standard), uno::UNO_QUERY); +CPPUNIT_ASSERT_EQUAL(sal_Int32(353), getPropertysal_Int32(xPropertySet, ParaBottomMargin)); // This was 353, i.e. bottom margin of the paragraph was 0.35cm instead of 0. // The reason why this is 0 despite the default style containing \sa200 diff --git a/sw/source/filter/ww8/rtfattributeoutput.hxx b/sw/source/filter/ww8/rtfattributeoutput.hxx index fdd8ff1..8452f73 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.hxx +++ b/sw/source/filter/ww8/rtfattributeoutput.hxx @@ -76,7 +76,10 @@ public: // Access to (anyway) private buffers, used by the sdr exporter OStringBuffer RunText(); -OStringBuffer Styles() { return m_aStyles; } +OStringBuffer Styles() +{ +return m_aStyles; +} /// Output text (without markup). virtual void RawText(const OUString rText, bool bForceUnicode,
[Libreoffice-commits] core.git: udkapi/com
udkapi/com/sun/star/io/FilePermission.idl | 69 ++ 1 file changed, 34 insertions(+), 35 deletions(-) New commits: commit 9947032c4c6a772df888323338df699f54087013 Author: Stephan Bergmann sberg...@redhat.com Date: Thu Jun 19 11:15:32 2014 +0200 Work around problem with nested /* in Doxygen comment ...where Doxygen apparently deliberately tracks nested /* ... */ comments in /** ... */ comments (even though languages like C, C++, Java don't). Thanks to Lionel for finding it. Change-Id: I0cfc54216df4e49c194c097e5ad3b00f5270d395 diff --git a/udkapi/com/sun/star/io/FilePermission.idl b/udkapi/com/sun/star/io/FilePermission.idl index d23d90a..b3d1981 100644 --- a/udkapi/com/sun/star/io/FilePermission.idl +++ b/udkapi/com/sun/star/io/FilePermission.idl @@ -22,41 +22,40 @@ module com { module sun { module star { module io { -/** This permission represents access to a file or directory. -A FilePermission consists of a file url and a set of actions valid for that url. -p -The path of the file url that ends in code/*/code indicates all the files and -directories contained in that directory. A path that ends with code/-/code -indicates (recursively) all files and subdirectories contained in that -directory. A file url string consisting of the special token -codeALL FILES/code matches any file. -br -Note: A file url string consisting of a single code*/code indicates all the files -in the current directory, while a string consisting of a single code-/code indicates -all the files in the current directory and (recursively) all files and -subdirectories contained in the current directory. -br -The actions to be granted is a list of one or more comma-separated keywords. -The possible keywords are coderead/code, codewrite/code, -codeexecute/code, and codedelete/code. -Their meaning is defined as follows: -ul -licoderead/code -- read permission/li -licodewrite/code -- write permission/li -licodeexecute/code -- execute permission/li -licodedelete/code -- delete permission/li -/ulbr -The actions string is processed case-insensitive. -/p - -@attention -Be careful when granting FilePermissions. Think about the implications of -granting read and especially write access to various files and directories. -The codeALL FILES/code permission with write action is -especially dangerous. This grants permission to write to the entire file system. - -@since OOo 1.1.2 -*/ +/// This permission represents access to a file or directory. +/// A FilePermission consists of a file url and a set of actions valid for that url. +/// p +/// The path of the file url that ends in code/*/code indicates all the files and +/// directories contained in that directory. A path that ends with code/-/code +/// indicates (recursively) all files and subdirectories contained in that +/// directory. A file url string consisting of the special token +/// codeALL FILES/code matches any file. +/// br +/// Note: A file url string consisting of a single code*/code indicates all the files +/// in the current directory, while a string consisting of a single code-/code indicates +/// all the files in the current directory and (recursively) all files and +/// subdirectories contained in the current directory. +/// br +/// The actions to be granted is a list of one or more comma-separated keywords. +/// The possible keywords are coderead/code, codewrite/code, +/// codeexecute/code, and codedelete/code. +/// Their meaning is defined as follows: +/// ul +/// licoderead/code -- read permission/li +/// licodewrite/code -- write permission/li +/// licodeexecute/code -- execute permission/li +/// licodedelete/code -- delete permission/li +/// /ulbr +/// The actions string is processed case-insensitive. +/// /p +/// +/// @attention +/// Be careful when granting FilePermissions. Think about the implications of +/// granting read and especially write access to various files and directories. +/// The codeALL FILES/code permission with write action is +/// especially dangerous. This grants permission to write to the entire file system. +/// +/// @since OOo 1.1.2 published struct FilePermission { /** target file url ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Bug 75025] LibreOffice 4.3 most annoying bugs
https://bugs.freedesktop.org/show_bug.cgi?id=75025 suokunl...@gmail.com changed: What|Removed |Added Depends on||79810 --- Comment #29 from suokunl...@gmail.com --- Adding Bug 79810 - DOCX IMPORT: Wrong underline applied to list style. This causes wrong formating when open DOCX file. It's a regression in 4.3.0.0 beta2, and still exists in 4.3.0 RC1. -- You are receiving this mail because: You are on the CC list for the bug. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-commits] core.git: 18 commits - extensions/source formula/source include/formula l10ntools/source sc/source sd/source starmath/source svtools/source svx/source sw/inc sw/source unusedcode
extensions/source/propctrlr/genericpropertyhandler.cxx |3 +- extensions/source/propctrlr/genericpropertyhandler.hxx |2 - formula/source/ui/dlg/funcutl.cxx | 24 - include/formula/funcutl.hxx|5 --- l10ntools/source/export.cxx|2 - sc/source/filter/xml/xmlfonte.cxx |9 +- sc/source/ui/unoobj/exceldetect.cxx| 18 +--- sd/source/core/sdpage.cxx |2 - sd/source/ui/func/fuinsfil.cxx |2 - sd/source/ui/unoidl/unoobj.cxx |4 +- starmath/source/node.cxx |2 - starmath/source/parse.cxx |4 +- starmath/source/smdetect.cxx | 24 - svtools/source/contnr/imivctl2.cxx | 13 + svx/source/unogallery/unogalitem.cxx |7 ++-- svx/source/unogallery/unogalitem.hxx |2 - sw/inc/IDocumentDrawModelAccess.hxx| 10 +++ sw/source/core/access/accmap.cxx |1 sw/source/core/doc/DocumentDeviceManager.cxx |1 sw/source/core/doc/DocumentDrawModelManager.cxx| 10 +++ sw/source/core/doc/DocumentSettingManager.cxx |1 sw/source/core/doc/docfly.cxx |1 sw/source/core/doc/doclay.cxx |1 sw/source/core/docnode/nodedump.cxx|1 sw/source/core/draw/dcontact.cxx |1 sw/source/core/frmedt/feshview.cxx |1 sw/source/core/inc/DocumentDrawModelManager.hxx| 12 sw/source/core/layout/fly.cxx |1 sw/source/core/layout/frmtool.cxx |1 sw/source/core/layout/newfrm.cxx |1 sw/source/core/layout/paintfrm.cxx |1 sw/source/core/text/itrform2.cxx |5 +-- sw/source/core/undo/docundo.cxx|1 sw/source/core/undo/unattr.cxx |1 sw/source/core/unocore/unodraw.cxx |1 sw/source/core/unocore/unoframe.cxx|1 sw/source/core/view/vdraw.cxx |1 sw/source/core/view/viewimp.cxx|1 sw/source/core/view/viewsh.cxx |1 sw/source/filter/html/htmldrawreader.cxx |1 sw/source/filter/writer/writer.cxx | 16 --- sw/source/filter/ww8/docxsdrexport.cxx |1 sw/source/filter/ww8/rtfattributeoutput.cxx|1 sw/source/filter/ww8/wrtw8esh.cxx |1 sw/source/filter/ww8/wrtww8.cxx|1 sw/source/filter/ww8/ww8graf.cxx |1 sw/source/filter/xml/swxml.cxx |1 sw/source/filter/xml/xmlexp.cxx|1 sw/source/filter/xml/xmlimp.cxx|1 sw/source/uibase/app/docshdrw.cxx |1 sw/source/uibase/app/docstyle.cxx |1 sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx |1 sw/source/uibase/lingu/sdrhhcwrap.cxx |1 sw/source/uibase/shells/drwbassh.cxx |1 sw/source/uibase/shells/frmsh.cxx |1 sw/source/uibase/shells/grfsh.cxx |1 sw/source/uibase/shells/grfshex.cxx|1 sw/source/uibase/uno/unodefaults.cxx |2 - sw/source/uibase/uno/unotxdoc.cxx | 12 sw/source/uibase/utlui/content.cxx |1 unusedcode.easy|2 - 61 files changed, 130 insertions(+), 99 deletions(-) New commits: commit cf309ee274fad755de1b53b40bc1d2b112f16171 Author: Caolán McNamara caol...@redhat.com Date: Thu Jun 19 10:24:08 2014 +0100 coverity#704771 Explicit null dereferenced Change-Id: I653866006a54f5bc73dae4614b0b9c8ddfeb4989 diff --git a/sd/source/ui/unoidl/unoobj.cxx b/sd/source/ui/unoidl/unoobj.cxx index 2305df2..bb2411b 100644 --- a/sd/source/ui/unoidl/unoobj.cxx +++ b/sd/source/ui/unoidl/unoobj.cxx @@ -775,9 +775,9 @@ void SAL_CALL SdXShape::setPropertyValue( const OUString aPropertyName, const : case WID_BOOKMARK: { OUString aString; -if( pInfo ) +SdDrawDocument* pDoc = mpModel ? mpModel-GetDoc() : NULL; +if (pInfo pDoc) { -SdDrawDocument* pDoc = mpModel?mpModel-GetDoc():NULL; // is the bookmark a page? bool bIsMasterPage;
[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - svtools/source
svtools/source/contnr/imivctl2.cxx |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 4a3fe589d03720148a9389f6c826350b18b78672 Author: Caolán McNamara caol...@redhat.com Date: Thu Jun 19 09:01:56 2014 +0100 sizeof(bool) is not required to be 1 (cherry picked from commit 3daec14fd62a6a1655813d26e470513237129263) Conflicts: svtools/source/contnr/imivctl2.cxx Change-Id: I19ba4e27a4403d2c17d0bbf3f29c42e4745e4c41 diff --git a/svtools/source/contnr/imivctl2.cxx b/svtools/source/contnr/imivctl2.cxx index dda5d4e..6892cc1 100644 --- a/svtools/source/contnr/imivctl2.cxx +++ b/svtools/source/contnr/imivctl2.cxx @@ -579,7 +579,7 @@ void IcnGridMap_Impl::Create_Impl() _nGridCols += 50; _pGridMap = new bool[ _nGridRows * _nGridCols]; -memset( (void*)_pGridMap, 0, _nGridRows * _nGridCols ); +memset( _pGridMap, 0, _nGridRows * _nGridCols * sizeof(bool) ); const size_t nCount = _pView-aEntries.size(); for( size_t nCur=0; nCur nCount; nCur++ ) ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: 3 commits - basic/source sw/inc sw/sdi sw/source
basic/source/sbx/sbxvalue.cxx |4 +- basic/source/sbx/sbxvar.cxx|2 - sw/inc/cmdid.h |2 + sw/inc/swcommands.h|2 + sw/sdi/drawsh.sdi | 14 + sw/sdi/swriter.sdi | 48 ++ sw/source/ui/app/mn.src| 12 sw/source/uibase/shells/drawsh.cxx | 52 + 8 files changed, 133 insertions(+), 3 deletions(-) New commits: commit 692ea03e1d9974d036e1b9109c3fe32e1c0e51cd Author: Miklos Vajna vmik...@collabora.co.uk Date: Thu Jun 19 10:11:34 2014 +0200 sw: add UI for removing the textbox of a draw shape Change-Id: Ib95573228d3dc98c88cd4af19995c99433c84ae6 diff --git a/sw/inc/cmdid.h b/sw/inc/cmdid.h index 79f4dc6..46c84b1 100644 --- a/sw/inc/cmdid.h +++ b/sw/inc/cmdid.h @@ -479,6 +479,7 @@ #define FN_EXPAND_GLOSSARY (FN_EXTRA + 28) /* expand text building blocks */ #define FN_CHANGE_PAGENUM (FN_EXTRA + 34) /* change page numbers*/ #define FN_ADD_TEXT_BOX (FN_EXTRA + 35) /* add text box to draw shape */ +#define FN_REMOVE_TEXT_BOX (FN_EXTRA + 36) /* remove text box of draw shape */ // Region: Glossary diff --git a/sw/inc/swcommands.h b/sw/inc/swcommands.h index 3417a74..0d7aadd 100644 --- a/sw/inc/swcommands.h +++ b/sw/inc/swcommands.h @@ -79,6 +79,7 @@ #define CMD_FN_PRINT_PAGEPREVIEW.uno:PrintPagePreview #define CMD_FN_TABLE_SET_READ_ONLY_CELLS.uno:Protect #define CMD_FN_REMOVE_CUR_TOX .uno:RemoveTableOf +#define CMD_FN_REMOVE_TEXT_BOX .uno:RemoveTextBox #define CMD_FN_FORMAT_RESET .uno:ResetAttributes #define CMD_FN_TOOL_ANCHOR_AT_CHAR .uno:SetAnchorAtChar #define CMD_FN_TOOL_ANCHOR_CHAR .uno:SetAnchorToChar diff --git a/sw/sdi/drawsh.sdi b/sw/sdi/drawsh.sdi index d181a0d..5b2b27a 100644 --- a/sw/sdi/drawsh.sdi +++ b/sw/sdi/drawsh.sdi @@ -515,5 +515,12 @@ shell SwDrawShell : SwDrawBaseShell StateMethod = GetState ; DisableFlags=SW_DISABLE_ON_PROTECTED_CURSOR; ] + +FN_REMOVE_TEXT_BOX +[ +ExecMethod = Execute ; +StateMethod = GetState ; +DisableFlags=SW_DISABLE_ON_PROTECTED_CURSOR; +] } diff --git a/sw/sdi/swriter.sdi b/sw/sdi/swriter.sdi index 271ad17..fc78e4a 100644 --- a/sw/sdi/swriter.sdi +++ b/sw/sdi/swriter.sdi @@ -10103,3 +10103,27 @@ SfxVoidItem AddTextBox FN_ADD_TEXT_BOX ToolBoxConfig = TRUE, GroupId = GID_DRAWING; ] + +SfxVoidItem RemoveTextBox FN_REMOVE_TEXT_BOX +() +[ +/* flags: */ +AutoUpdate = FALSE, +Cachable = Cachable, +FastCall = FALSE, +HasCoreId = FALSE, +HasDialog = FALSE, +ReadOnlyDoc = FALSE, +Toggle = FALSE, +Container = FALSE, +RecordAbsolute = FALSE, +RecordPerSet; +Synchron; + +/* config: */ +AccelConfig = TRUE, +MenuConfig = TRUE, +StatusBarConfig = FALSE, +ToolBoxConfig = TRUE, +GroupId = GID_DRAWING; +] diff --git a/sw/source/ui/app/mn.src b/sw/source/ui/app/mn.src index 80090e0..f62c8da 100644 --- a/sw/source/ui/app/mn.src +++ b/sw/source/ui/app/mn.src @@ -1050,6 +1050,12 @@ Menu MN_DRAW_POPUPMENU HelpId = CMD_FN_ADD_TEXT_BOX; Text [ en-US ] = Add Text Box; }; +MenuItem +{ +Identifier = FN_REMOVE_TEXT_BOX; +HelpId = CMD_FN_REMOVE_TEXT_BOX; +Text [ en-US ] = Remove Text Box; +}; }; }; diff --git a/sw/source/uibase/shells/drawsh.cxx b/sw/source/uibase/shells/drawsh.cxx index 76d2538..d4887fa 100644 --- a/sw/source/uibase/shells/drawsh.cxx +++ b/sw/source/uibase/shells/drawsh.cxx @@ -409,6 +409,16 @@ void SwDrawShell::Execute(SfxRequest rReq) } break; } +case FN_REMOVE_TEXT_BOX: +{ +if (SdrObject* pObj = IsSingleFillableNonOLESelected()) +{ +SwFrmFmt* pFrmFmt = ::FindFrmFmt(pObj); +if (pFrmFmt) +SwTextBoxHelper::destroy(pFrmFmt); +} +break; +} default: OSL_ENSURE(!this, wrong dispatcher); return; @@ -529,6 +539,21 @@ void SwDrawShell::GetState(SfxItemSet rSet) rSet.DisableItem(nWhich); break; } +case FN_REMOVE_TEXT_BOX: +{ +bool bDisable = true; +if (SdrObject* pObj = IsSingleFillableNonOLESelected()) +{ +SwFrmFmt* pFrmFmt = ::FindFrmFmt(pObj); +// Allow removing a TextBox only in case it has one. +if (pFrmFmt SwTextBoxHelper::findTextBox(pFrmFmt)) +bDisable = false; +} + +if (bDisable) +
Re: doxygen warning / nested comments
On 06/18/2014 05:16 PM, Lionel Elie Mamane wrote: Noticed in my build: /home/master/src/libreoffice/workdirs/libreoffice-4-3/udkapi/com/sun/star/io/FilePermission.idl:76:warning: Reached end of file while still inside a (nested) comment. Nesting level 1 (probable line reference: 25) This seems to be a message from doxygen. This looks like the documentation of FilePermission will be blank because the content is skipped because taken as part of comment... However, http://api.libreoffice.org/docs/idl/ref/structcom_1_1sun_1_1star_1_1io_1_1FilePermission.html looks reasonable, so maybe this is a red herring. No idea with exactly what 4.2 sources and what toolchain http://api.libreoffice.org/docs/idl/ref has been generated, but at least recent Doxygen 1.8.6 and 1.8.7 indeed would miss documentation of FilePermissions. Looks like Doxygen deliberately tracks nested /* ... */ comments within /** ... */ comments (cf. g_nestingCount in src/commentcnv.l), maybe to support such comments inside @code blocks as discussed at https://sourceforge.net/p/doxygen/mailman/doxygen-users/thread/ad6e09750605081949w8555322u711dbb4eb8dc0...@mail.gmail.com/ [Doxygen-users] how to add c-style comments inside @code? But I did not find any rationale for that in the Doxygen documentation at http://www.stack.nl/~dimitri/doxygen/manual/index.html. Anyway, worked around now on master and libreoffice-4-3, so future updates of http://api.libreoffice.org/docs/idl/ref should also be safe. Stephan ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-commits] core.git: chart2/source
chart2/source/view/main/GL3DRenderer.cxx | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) New commits: commit ee9e8f677103f3b93faaef55832fb704f95e0a4b Author: Fridrich Å trba fridrich.st...@bluewin.ch Date: Thu Jun 19 11:47:31 2014 +0200 Fix build with system glm once again Change-Id: I7cd179f6f981455cfece1ca8ce0ea314ac341f99 diff --git a/chart2/source/view/main/GL3DRenderer.cxx b/chart2/source/view/main/GL3DRenderer.cxx index 4178467..2fc70f9 100644 --- a/chart2/source/view/main/GL3DRenderer.cxx +++ b/chart2/source/view/main/GL3DRenderer.cxx @@ -372,7 +372,7 @@ void OpenGL3DRenderer::init() CHECK_GL_ERROR(); glViewport(0, 0, m_iWidth, m_iHeight); Set3DSenceInfo(0xFF, true); -m_GlobalScaleMatrix = glm::scale(0.01f, 0.01f, 0.01f); +m_GlobalScaleMatrix = glm::scale(glm::vec3(0.01f, 0.01f, 0.01f)); } void OpenGL3DRenderer::SetSize(const Size rSize) @@ -1949,7 +1949,7 @@ void OpenGL3DRenderer::GetBatchMiddleInfo(const Extrude3DInfo extrude3D) } else { -glm::mat4 scale = glm::scale(xyScale, xyScale,actualZScale); +glm::mat4 scale = glm::scale(glm::vec3(xyScale, xyScale,actualZScale)); glm::mat4 aTranslationMatrix = glm::translate(glm::vec3(trans.x, trans.y, trans.z)); m_Model = aTranslationMatrix * extrude3D.rotation * scale; } @@ -1975,7 +1975,7 @@ void OpenGL3DRenderer::GetBatchTopAndFlatInfo(const Extrude3DInfo extrude3D) // the height of rounded corner is higher than the cube than use the org scale matrix //yScale /= (float)(1 + BOTTOM_THRESHOLD); zScale /= (float)(m_RoundBarMesh.bottomThreshold); -glm::mat4 scale = glm::scale(xyScale, xyScale, zScale); +glm::mat4 scale = glm::scale(glm::vec3(xyScale, xyScale, zScale)); //MoveModelf(trans, angle, scale); glm::mat4 aTranslationMatrix = glm::translate(glm::vec3(trans.x, trans.y, trans.z)); m_Model = aTranslationMatrix * extrude3D.rotation * scale * orgTrans; @@ -1984,7 +1984,7 @@ void OpenGL3DRenderer::GetBatchTopAndFlatInfo(const Extrude3DInfo extrude3D) { // use different matrices for different parts glm::mat4 topTrans = glm::translate(glm::vec3(0.0, 0.0, actualZTrans)); -glm::mat4 topScale = glm::scale(xyScale, xyScale, xyScale); +glm::mat4 topScale = glm::scale(glm::vec3(xyScale, xyScale, xyScale)); glm::mat4 aTranslationMatrix = glm::translate(glm::vec3(trans.x, trans.y, trans.z)); m_Model = aTranslationMatrix * extrude3D.rotation * topTrans * topScale * orgTrans; } @@ -1996,7 +1996,7 @@ void OpenGL3DRenderer::GetBatchTopAndFlatInfo(const Extrude3DInfo extrude3D) m_BarSurface[TOP_SURFACE].colorList.push_back(extrude3D.material.materialColor); glm::mat4 aTranslationMatrix = glm::translate(glm::vec3(trans.x, trans.y, trans.z)); -glm::mat4 flatScale = glm::scale(xyScale, xyScale, xyScale); +glm::mat4 flatScale = glm::scale(glm::vec3(xyScale, xyScale, xyScale)); m_Model = aTranslationMatrix * extrude3D.rotation * flatScale; m_Model =m_GlobalScaleMatrix * m_Model; normalMatrix = glm::mat3(m_Model); @@ -2022,7 +2022,7 @@ void OpenGL3DRenderer::GetBatchBarsInfo() else { glm::mat4 transformMatrix = glm::translate(glm::vec3(extrude3DInfo.xTransform, extrude3DInfo.yTransform, extrude3DInfo.zTransform)); -glm::mat4 scaleMatrix = glm::scale(extrude3DInfo.xScale, extrude3DInfo.yScale, extrude3DInfo.zScale); +glm::mat4 scaleMatrix = glm::scale(glm::vec3(extrude3DInfo.xScale, extrude3DInfo.yScale, extrude3DInfo.zScale)); m_Model = transformMatrix * extrude3DInfo.rotation * scaleMatrix; m_Model = m_GlobalScaleMatrix * m_Model; glm::mat3 normalMatrix(m_Model); ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Branch 'aoo/trunk' - solenv/inc
solenv/inc/tg_ext.mk |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) New commits: commit 563d895d861c04adb2e18a18d1b54276bfe65a7a Author: Herbert Dürr h...@apache.org Date: Thu Jun 19 08:34:18 2014 + #i125121# speed up the make writeable step when building external libraries avoiding the many individual invocations of chmod for each directory makes this step about ten times faster on Windows without SSD (460sec - 41sec for boost alone). With SSD storage the speedup should be even higher. diff --git a/solenv/inc/tg_ext.mk b/solenv/inc/tg_ext.mk index 290b503..ab3a519 100644 --- a/solenv/inc/tg_ext.mk +++ b/solenv/inc/tg_ext.mk @@ -164,8 +164,7 @@ $(PACKAGE_DIR)/$(UNTAR_FLAG_FILE) : $(PRJ)/$(ROUT)/misc/$(TARFILE_MD5)-$(TARFILE @-$(MKDIRHIER) $(PACKAGE_DIR)$(fake_root_dir) $(COMMAND_ECHO)cd $(PACKAGE_DIR)$(fake_root_dir) ( $(shell @$(TYPE) $(PRJ)/$(ROUT)/misc/$(TARFILE_MD5)-$(TARFILE_NAME).unpack)) $(TOUCH) $(UNTAR_FLAG_FILE) @echo make writeable... -@cd $(PACKAGE_DIR) chmod -R +rw $(TARFILE_ROOTDIR) $(TOUCH) $(UNTAR_FLAG_FILE) -@cd $(PACKAGE_DIR) find $(TARFILE_ROOTDIR) -type d -exec chmod a+x {{}} \; +@cd $(PACKAGE_DIR) chmod -R +rwX $(TARFILE_ROOTDIR) $(TOUCH) $(UNTAR_FLAG_FILE) #add new files to patch $(PACKAGE_DIR)/$(ADD_FILES_FLAG_FILE) : $(PACKAGE_DIR)/$(UNTAR_FLAG_FILE) $(T_ADDITIONAL_FILES:+.dummy) ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-4.2' - configure.ac
configure.ac |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit a1d4d4d12d8b1209ee8c90e0ecf16669864ecec1 Author: Andras Timar andras.ti...@collabora.com Date: Thu Jun 19 12:27:32 2014 +0200 Bump version to 4.2-6 Change-Id: Ic2cbed6d421c693bdb8d3f3fa3a5cffbfc0accc0 diff --git a/configure.ac b/configure.ac index 84427b9..1dff767 100644 --- a/configure.ac +++ b/configure.ac @@ -9,7 +9,7 @@ dnl in order to create a configure script. # several non-alphanumeric characters, those are split off and used only for the # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no idea. -AC_INIT([LibreOffice],[4.2.10.5],[],[],[https://libreoffice-from-collabora.com/]) +AC_INIT([LibreOffice],[4.2.10.6],[],[],[https://libreoffice-from-collabora.com/]) AC_PREREQ([2.59]) ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: sw/qa sw/source writerfilter/source
sw/qa/extras/ooxmlexport/data/FDO78590.docx |binary sw/qa/extras/ooxmlexport/ooxmlexport.cxx | 13 + sw/source/core/unocore/unoframe.cxx |7 sw/source/filter/ww8/docxattributeoutput.cxx | 206 +- sw/source/filter/ww8/docxattributeoutput.hxx |3 sw/source/filter/ww8/docxsdrexport.cxx| 20 ++ sw/source/filter/ww8/docxsdrexport.hxx|2 writerfilter/source/dmapper/DomainMapper_Impl.cxx | 10 - 8 files changed, 214 insertions(+), 47 deletions(-) New commits: commit 1c876f5616522ab695de8c0316cdb0c601081815 Author: Rohit Deshmukh rohit.deshm...@synerzip.com Date: Fri Jun 13 11:39:56 2014 +0530 fdo#78590: Fix for Corruption of para with framePr drawing object into para Issue: - File contains paragraph with framePr have graphic object in it. - So Libreoffice converts framePr into textbox. - So after saving file textbox gets exported with drawing object. - MS office does not allowed drawing object inside tetxbox. Change-Id: I673e0e9f6681a189bde1c63a8cb7aea2cac0ab41 Fix: - Export framePr into paragraph and igonre exporting of dummy textbox added by LO for framePr. Reviewed-on: https://gerrit.libreoffice.org/9389 Reviewed-by: Miklos Vajna vmik...@collabora.co.uk Tested-by: Miklos Vajna vmik...@collabora.co.uk diff --git a/sw/qa/extras/ooxmlexport/data/FDO78590.docx b/sw/qa/extras/ooxmlexport/data/FDO78590.docx new file mode 100644 index 000..c32b0276b9 Binary files /dev/null and b/sw/qa/extras/ooxmlexport/data/FDO78590.docx differ diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx index d97be6f..5b0244e 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx @@ -3635,6 +3635,19 @@ DECLARE_OOXMLEXPORT_TEST(testfdo79817,fdo79817.docx) assertXPath ( pXmlDoc, /w:document/w:body/w:p[3]/w:sdt/w:sdtPr/w:dataBinding, xpath,/ns0:properties[1]/documentManagement[1]/ns2:Responsible_x0020_Officer_x0020_Title[1]); } + +DECLARE_OOXMLEXPORT_TEST(testFDO78590, FDO78590.docx) +{ +xmlDocPtr pXmlDoc = parseExport(word/document.xml); + +if (!pXmlDoc) +return; + +// This is to ensure that the fld starts and ends inside a hyperlink... +assertXPath ( pXmlDoc, /w:document/w:body/w:p[1]/w:pPr/w:framePr, w, 9851 ); +assertXPath ( pXmlDoc, /w:document/w:body/w:p[1]/w:pPr/w:framePr, h, 1669 ); +} + #endif CPPUNIT_PLUGIN_IMPLEMENT(); diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx index e02024c..55c50d4 100644 --- a/sw/source/core/unocore/unoframe.cxx +++ b/sw/source/core/unocore/unoframe.cxx @@ -3052,6 +3052,13 @@ void SwXFrame::attachToRange(const uno::Reference text::XTextRange xTextRan { setPropertyValue(UNO_NAME_DESCRIPTION, *pDescription); } + +// For grabbag +const uno::Any* pFrameIntropgrabbagItem; +if( pProps-GetProperty(RES_FRMATR_GRABBAG, 0, pFrameIntropgrabbagItem) ) +{ +setPropertyValue(UNO_NAME_FRAME_INTEROP_GRAB_BAG, *pFrameIntropgrabbagItem); +} } else throw lang::IllegalArgumentException(); diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 1ca7ee3..e7144c7 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -305,6 +305,96 @@ static void lcl_deleteAndResetTheLists( ::sax_fastparser::FastAttributeList* pS } } +void DocxAttributeOutput::PopulateFrameProperties(const SwFrmFmt* pFrmFmt, const Size rSize) +{ + +sax_fastparser::FastAttributeList* attrList = m_pSerializer-createAttrList(); + +awt::Point aPos(pFrmFmt-GetHoriOrient().GetPos(), pFrmFmt-GetVertOrient().GetPos()); + +attrList-add( FSNS( XML_w, XML_w), OString::number(rSize.Width())); +attrList-add( FSNS( XML_w, XML_h), OString::number(rSize.Height())); + +attrList-add( FSNS( XML_w, XML_x), OString::number(aPos.X)); +attrList-add( FSNS( XML_w, XML_y), OString::number(aPos.Y)); + +const char* relativeFromH; +const char* relativeFromV; +switch (pFrmFmt-GetVertOrient().GetRelationOrient()) +{ +case text::RelOrientation::PAGE_PRINT_AREA: +relativeFromV = margin; +break; +case text::RelOrientation::PAGE_FRAME: +relativeFromV = page; +break; +case text::RelOrientation::FRAME: +relativeFromV = paragraph; +break; +case text::RelOrientation::TEXT_LINE: +default: +relativeFromV = line; +break; +} + +switch (pFrmFmt-GetHoriOrient().GetRelationOrient()) +{ +case text::RelOrientation::PAGE_PRINT_AREA: +relativeFromH = margin; +break; +case text::RelOrientation::PAGE_FRAME:
[Libreoffice-commits] core.git: writerfilter/inc writerfilter/source
writerfilter/inc/resourcemodel/TagLogger.hxx |2 + writerfilter/inc/resourcemodel/WW8ResourceModel.hxx |6 +++ writerfilter/inc/resourcemodel/util.hxx |2 - writerfilter/source/ooxml/OOXMLFastContextHandler.cxx |6 +-- writerfilter/source/ooxml/OOXMLPropertySet.hxx|4 ++ writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx| 30 -- writerfilter/source/ooxml/OOXMLPropertySetImpl.hxx| 28 writerfilter/source/ooxml/factoryimpl.xsl |2 + writerfilter/source/ooxml/fasttokens.py |2 + writerfilter/source/resourcemodel/util.cxx|5 +-- writerfilter/source/rtftok/rtfsprm.cxx|6 ++- writerfilter/source/rtftok/rtfsprm.hxx|2 + writerfilter/source/rtftok/rtfvalue.cxx |2 + writerfilter/source/rtftok/rtfvalue.hxx |2 + 14 files changed, 88 insertions(+), 11 deletions(-) New commits: commit f8c5a61e052c500201c7bfc4c36f127c0ac36b30 Author: Jan Holesovsky ke...@collabora.com Date: Thu Jun 19 09:37:43 2014 +0200 writerfilter: Hide more debug-only stuff behind the DEBUG_DOMAINMAPPER. Change-Id: I0e86cafab97f0adad516660c6fdf40e13d114bf2 diff --git a/writerfilter/inc/resourcemodel/TagLogger.hxx b/writerfilter/inc/resourcemodel/TagLogger.hxx index c75af7b..92ad860 100644 --- a/writerfilter/inc/resourcemodel/TagLogger.hxx +++ b/writerfilter/inc/resourcemodel/TagLogger.hxx @@ -30,6 +30,7 @@ namespace writerfilter { +#ifdef DEBUG_DOMAINMAPPER class IdToString { public: @@ -39,6 +40,7 @@ namespace writerfilter protected: ~IdToString() {} }; +#endif class TagLogger { diff --git a/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx b/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx index 0d36342..995dd55 100644 --- a/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx +++ b/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx @@ -333,7 +333,9 @@ public: /** Returns string representation of this value. */ +#ifdef DEBUG_DOMAINMAPPER virtual std::string toString() const = 0; +#endif }; /** @@ -382,12 +384,16 @@ public: /** Returns name of sprm. */ +#ifdef DEBUG_DOMAINMAPPER virtual std::string getName() const = 0; +#endif /** Returns string repesentation of sprm. */ +#ifdef DEBUG_DOMAINMAPPER virtual std::string toString() const = 0; +#endif protected: ~Sprm() {} diff --git a/writerfilter/inc/resourcemodel/util.hxx b/writerfilter/inc/resourcemodel/util.hxx index 24abfe8..b176cd82 100644 --- a/writerfilter/inc/resourcemodel/util.hxx +++ b/writerfilter/inc/resourcemodel/util.hxx @@ -26,7 +26,7 @@ namespace writerfilter { -#if OSL_DEBUG_LEVEL 1 +#ifdef DEBUG_DOMAINMAPPER std::string toString(css::uno::Reference css::text::XTextRange textRange); #endif } diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx index 49db4fb..cc20804 100644 --- a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx +++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx @@ -87,7 +87,7 @@ static string resourceToString setOOXMLFastContextHandler * aSetContexts; -#if OSL_DEBUG_LEVEL 1 +#ifdef DEBUG_DOMAINMAPPER class OOXMLIdToString : public IdToString { public: @@ -377,7 +377,7 @@ void OOXMLFastContextHandler::endAction(Token_t Element) OOXMLFactory::getInstance()-endAction(this, Element); } -#if OSL_DEBUG_LEVEL 1 +#ifdef DEBUG_DOMAINMAPPER void OOXMLFastContextHandler::dumpXml( const TagLogger::Pointer_t pLogger ) const { pLogger-startElement(context); @@ -1088,7 +1088,7 @@ OOXMLValue::Pointer_t OOXMLFastContextHandlerProperties::getValue() const return OOXMLValue::Pointer_t(new OOXMLPropertySetValue(mpPropertySet)); } -#if OSL_DEBUG_LEVEL 1 +#ifdef DEBUG_DOMAINMAPPER void OOXMLFastContextHandlerProperties::dumpXml( const TagLogger::Pointer_t pLogger) const { pLogger-startElement(context); diff --git a/writerfilter/source/ooxml/OOXMLPropertySet.hxx b/writerfilter/source/ooxml/OOXMLPropertySet.hxx index 76ac56a..354bdd7 100644 --- a/writerfilter/source/ooxml/OOXMLPropertySet.hxx +++ b/writerfilter/source/ooxml/OOXMLPropertySet.hxx @@ -37,8 +37,10 @@ public: virtual writerfilter::ReferenceBinaryObj::Pointer_t getBinary() SAL_OVERRIDE = 0; virtual writerfilter::ReferenceStream::Pointer_t getStream() SAL_OVERRIDE = 0; virtual writerfilter::ReferenceProperties::Pointer_t getProps() SAL_OVERRIDE = 0; +#ifdef DEBUG_DOMAINMAPPER virtual std::string getName() const SAL_OVERRIDE = 0; virtual std::string toString() const SAL_OVERRIDE = 0; +#endif virtual void resolve(Properties rProperties) = 0; virtual Sprm * clone() = 0; @@ -58,7 +60,9 @@ public: virtual OOXMLPropertySet * clone() const = 0; virtual void
[Libreoffice-commits] core.git: sw/CppunitTest_sw_tox.mk sw/qa
sw/CppunitTest_sw_tox.mk| 30 +--- sw/qa/cppunit/tox/test_ToxLinkProcessor.cxx | 11 -- 2 files changed, 32 insertions(+), 9 deletions(-) New commits: commit f741a60511707989cfd6b2c3a56ded22ffdc5b67 Author: Stephan Bergmann sberg...@redhat.com Date: Thu Jun 19 14:24:49 2014 +0200 ToxLinkProcessorTest needs SwGlobals::ensure to set pSwResMgr ...derefernced in (anonymous namespace)::lcl_NewUINameArray SwStyleNameMapper::GetChrFmtUINameArray SwStyleNameMapper::getNameFromId SwStyleNameMapper::fillNameFromId SwStyleNameMapper::FillUIName SwFmtINetFmt::SwFmtINetFmt sw::ToxLinkProcessor::ClosedLink::ClosedLink sw::ToxLinkProcessor::CloseLink ToxLinkProcessorTest::ExceptionIsThrownIfTooManyLinksAreClosed ... Also, fix the name from sw_tox_test to sw_tox. Change-Id: I48ea9fb6322df3725b089538fd67b2e24578b668 diff --git a/sw/CppunitTest_sw_tox.mk b/sw/CppunitTest_sw_tox.mk index 23c61fe..960e94b 100644 --- a/sw/CppunitTest_sw_tox.mk +++ b/sw/CppunitTest_sw_tox.mk @@ -10,22 +10,22 @@ # This file contains the unit test definition for class in the sources/core/tox subfolder # The macro which defines the main method is contained in test_ToxWhitespaceStripper.cxx -$(eval $(call gb_CppunitTest_CppunitTest,sw_tox_test)) +$(eval $(call gb_CppunitTest_CppunitTest,sw_tox)) -$(eval $(call gb_CppunitTest_add_exception_objects,sw_tox_test, \ +$(eval $(call gb_CppunitTest_add_exception_objects,sw_tox, \ sw/qa/cppunit/tox/test_ToxWhitespaceStripper \ sw/qa/cppunit/tox/test_ToxLinkProcessor \ sw/qa/cppunit/tox/test_ToxTextGenerator \ )) -$(eval $(call gb_CppunitTest_use_libraries,sw_tox_test, \ +$(eval $(call gb_CppunitTest_use_libraries,sw_tox, \ comphelper \ cppu \ cppuhelper \ editeng \ sal \ svt \ - sw \ + svx \ test \ unotest \ vcl \ @@ -34,17 +34,33 @@ $(eval $(call gb_CppunitTest_use_libraries,sw_tox_test, \ $(gb_UWINAPI) \ )) -$(eval $(call gb_CppunitTest_use_externals,sw_tox_test, \ +$(eval $(call gb_CppunitTest_use_library_objects,sw_tox, \ + sw \ +)) + +$(eval $(call gb_CppunitTest_use_externals,sw_tox, \ boost_headers \ libxml2 \ )) -$(eval $(call gb_CppunitTest_use_api,sw_tox_test,\ +$(eval $(call gb_CppunitTest_use_api,sw_tox,\ offapi \ udkapi \ )) -$(eval $(call gb_CppunitTest_set_include,sw_tox_test,\ +$(eval $(call gb_CppunitTest_use_components,sw_tox, \ + configmgr/source/configmgr \ + framework/util/fwk \ + i18npool/util/i18npool \ + ucb/source/core/ucb1 \ + ucb/source/ucp/file/ucpfile1 \ +)) + +$(eval $(call gb_CppunitTest_use_configuration,sw_tox)) +$(eval $(call gb_CppunitTest_use_ure,sw_tox)) +$(eval $(call gb_CppunitTest_use_vcl,sw_tox)) + +$(eval $(call gb_CppunitTest_set_include,sw_tox,\ -I$(SRCDIR)/sw/inc \ -I$(SRCDIR)/sw/source/core/inc \ $$(INCLUDE) \ diff --git a/sw/qa/cppunit/tox/test_ToxLinkProcessor.cxx b/sw/qa/cppunit/tox/test_ToxLinkProcessor.cxx index 1873bb1..e0ae1a1 100644 --- a/sw/qa/cppunit/tox/test_ToxLinkProcessor.cxx +++ b/sw/qa/cppunit/tox/test_ToxLinkProcessor.cxx @@ -16,13 +16,15 @@ #include ToxLinkProcessor.hxx #include cppunit/TestAssert.h -#include cppunit/TestFixture.h #include cppunit/extensions/HelperMacros.h #include cppunit/plugin/TestPlugIn.h +#include test/bootstrapfixture.hxx + +#include swdll.hxx using namespace sw; -class ToxLinkProcessorTest : public CppUnit::TestFixture +class ToxLinkProcessorTest : public test::BootstrapFixture { void ExceptionIsThrownIfTooManyLinksAreClosed(); void AddingAndClosingTwoLinksResultsInTwoClosedLinks(); @@ -36,6 +38,11 @@ class ToxLinkProcessorTest : public CppUnit::TestFixture CPPUNIT_TEST(LinkSequenceIsPreserved); CPPUNIT_TEST_SUITE_END(); public: +void setUp() SAL_OVERRIDE { +BootstrapFixture::setUp(); +SwGlobals::ensure(); +} + static const OUString STYLE_NAME_1; static const OUString STYLE_NAME_2; static const sal_uInt16 POOL_ID_1; ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: sw/CppunitTest_sw_tox.mk
sw/CppunitTest_sw_tox.mk | 18 ++ 1 file changed, 18 insertions(+) New commits: commit b85470bab1d3fbedc512e5a5c06a8642ee73ce1b Author: Stephan Bergmann sberg...@redhat.com Date: Thu Jun 19 14:51:44 2014 +0200 Missing link deps Change-Id: I6a96ffd9ab9b5deaed00cc857af30cd9d827d3c2 diff --git a/sw/CppunitTest_sw_tox.mk b/sw/CppunitTest_sw_tox.mk index 960e94b..25ab0fc 100644 --- a/sw/CppunitTest_sw_tox.mk +++ b/sw/CppunitTest_sw_tox.mk @@ -19,18 +19,35 @@ $(eval $(call gb_CppunitTest_add_exception_objects,sw_tox, \ )) $(eval $(call gb_CppunitTest_use_libraries,sw_tox, \ + $(call gb_Helper_optional,AVMEDIA,avmedia) \ + basegfx \ comphelper \ cppu \ cppuhelper \ + drawinglayer \ editeng \ + i18nlangtag \ + i18nutil \ + lng \ sal \ + salhelper \ + sax \ + sb \ + sfx \ + sot \ + svl \ svt \ svx \ + svxcore \ test \ unotest \ vcl \ + tk \ tl \ + ucbhelper \ utl \ + xmlreader \ + xo \ $(gb_UWINAPI) \ )) @@ -40,6 +57,7 @@ $(eval $(call gb_CppunitTest_use_library_objects,sw_tox, \ $(eval $(call gb_CppunitTest_use_externals,sw_tox, \ boost_headers \ + icuuc \ libxml2 \ )) ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: sfx2/source
sfx2/source/doc/docinf.cxx |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) New commits: commit 7113db27f07ca03a468c94f1163a7aacd1e051e3 Author: Stephan Bergmann sberg...@redhat.com Date: Thu Jun 19 14:57:48 2014 +0200 GetFileTimeValue can produce a null DateTime Change-Id: I96bf1aa2d889c4d0925d073d1d7b4be47c23b3ac diff --git a/sfx2/source/doc/docinf.cxx b/sfx2/source/doc/docinf.cxx index c540545..5e49437 100644 --- a/sfx2/source/doc/docinf.cxx +++ b/sfx2/source/doc/docinf.cxx @@ -108,7 +108,11 @@ sal_uInt32 SFX2_DLLPUBLIC LoadOlePropertySet( i_xDocProps-setEditingCycles( nRevision ); } -if( xGlobSect-GetFileTimeValue( aDateTime, PROPID_EDITTIME ) ) +if( xGlobSect-GetFileTimeValue( aDateTime, PROPID_EDITTIME ) + !(aDateTime.NanoSeconds == 0 aDateTime.Seconds == 0 + aDateTime.Minutes == 0 aDateTime.Hours == 0 + aDateTime.Day == 0 aDateTime.Month == 0 + aDateTime.Year == 0) ) { // subtract offset 1601-01-01 aDateTime.Year -= 1601; ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Branch 'feature/gsoc14-personas' - cui/source cui/uiconfig vcl/source
cui/source/options/personalization.cxx | 81 +++-- cui/source/options/personalization.hxx | 10 +++- cui/uiconfig/ui/personalization_tab.ui | 66 ++ vcl/source/app/settings.cxx|8 --- 4 files changed, 142 insertions(+), 23 deletions(-) New commits: commit dc7092fe6e48e5d50a438bf27332cf151d86b2ca Author: Rachit Gupta rachitgupta1...@gmail.com Date: Thu Jun 19 18:49:36 2014 +0530 Added functionality to apply default themes. * The themes are stored in the share folder under the personas directory in the gallery. The information is stored in a personas_list.txt which contains the info in the form headerFile;footerFile;textColor;AccentColor for the default themes. * Changed the personalization_tab.ui to include _three_ buttons to show the default images. * Changed the vcl/source/app/settings.cxx to read the persona information properly in the case of default personas. * Some variable name changes. Change-Id: Ib5f2167729a5fb7eb8061925679560accb934a44 diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx index e6307f4..e592126 100644 --- a/cui/source/options/personalization.cxx +++ b/cui/source/options/personalization.cxx @@ -202,6 +202,17 @@ SvxPersonalizationTabPage::SvxPersonalizationTabPage( Window *pParent, const Sfx get( m_pSelectPersona, select_persona ); m_pSelectPersona-SetClickHdl( LINK( this, SvxPersonalizationTabPage, SelectPersona ) ); + +get( m_vDefaultPersonaImages[0], default1 ); +m_vDefaultPersonaImages[0]-SetClickHdl( LINK( this, SvxPersonalizationTabPage, DefaultPersona ) ); + +get( m_vDefaultPersonaImages[1], default2 ); +m_vDefaultPersonaImages[1]-SetClickHdl( LINK( this, SvxPersonalizationTabPage, DefaultPersona ) ); + +get( m_vDefaultPersonaImages[2], default3 ); +m_vDefaultPersonaImages[2]-SetClickHdl( LINK( this, SvxPersonalizationTabPage, DefaultPersona ) ); + +LoadDefaultImages(); } SvxPersonalizationTabPage::~SvxPersonalizationTabPage() @@ -268,6 +279,45 @@ void SvxPersonalizationTabPage::Reset( const SfxItemSet ) m_pDefaultPersona-Check(); } +void SvxPersonalizationTabPage::SetPersonaSettings( const OUString aPersonaSettings ) +{ +m_aPersonaSettings = aPersonaSettings; +m_pOwnPersona-Check(); +} + +void SvxPersonalizationTabPage::LoadDefaultImages() +{ +OUString gallery( ); +gallery = $BRAND_BASE_DIR/ LIBO_SHARE_FOLDER; +gallery += /gallery/personas/; +rtl::Bootstrap::expandMacros( gallery ); +OUString aPersonasList = gallery + personas_list.txt; +SvFileStream aStream( aPersonasList, STREAM_READ ); +GraphicFilter aFilter; +Graphic aGraphic; +sal_Int32 nIndex = 0; + +while( aStream.IsOpen() !aStream.IsEof() ) +{ +OString aLine; +aStream.ReadLine( aLine ); +OUString aPersonaSetting( OStringToOUString( aLine, RTL_TEXTENCODING_UTF8 ) ); +OUString aPreviewFile; +sal_Int32 nNewIndex = aPersonaSetting.indexOf( ';', 0 ); +if( nNewIndex 0 ) +break; +aPreviewFile = aPersonaSetting.copy( 0, nNewIndex ); +aPersonaSetting = aPersonaSetting.copy( nNewIndex + 1 ); +m_vDefaultPersonaSettings.push_back( aPersonaSetting ); + +INetURLObject aURLObj( gallery + aPreviewFile ); +aFilter.ImportGraphic( aGraphic, aURLObj ); +Bitmap aBmp = aGraphic.GetBitmap(); +m_vDefaultPersonaImages[nIndex]-Show(); +m_vDefaultPersonaImages[nIndex++]-SetModeImage( Image( aBmp ) ); +} +} + IMPL_LINK( SvxPersonalizationTabPage, SelectPersona, PushButton*, /*pButton*/ ) { SelectPersonaDialog aDialog( NULL ); @@ -277,7 +327,7 @@ IMPL_LINK( SvxPersonalizationTabPage, SelectPersona, PushButton*, /*pButton*/ ) OUString aPersonaSetting( aDialog.GetAppliedPersonaSetting() ); if ( !aPersonaSetting.isEmpty() ) { -setPersonaSettings( aPersonaSetting ); +SetPersonaSettings( aPersonaSetting ); } break; @@ -294,6 +344,17 @@ IMPL_LINK( SvxPersonalizationTabPage, ForceSelect, RadioButton*, pButton ) return 0; } +IMPL_LINK( SvxPersonalizationTabPage, DefaultPersona, PushButton*, pButton ) +{ +m_pDefaultPersona-Check(); +for( sal_Int32 nIndex = 0; nIndex 3; nIndex++ ) +{ +if( pButton == m_vDefaultPersonaImages[nIndex] ) +m_aPersonaSettings = m_vDefaultPersonaSettings[nIndex]; +} +return 0; +} + /// Find the value on the Persona page, and convert it to a usable form. static OUString searchValue( const OString rBuffer, sal_Int32 from, const OString rIdentifier ) { @@ -351,12 +412,6 @@ static bool parsePersonaInfo( const OString rBuffer, OUString *pHeaderURL, OUSt return true; } -void SvxPersonalizationTabPage::setPersonaSettings( const OUString aPersonaSettings ) -{ -
[Libreoffice-commits] core.git: readlicense_oo/docs
readlicense_oo/docs/readme.xrm |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 66ac7430b6694ba409b9034c6a9fa7e03b7950b3 Author: David Tardon dtar...@redhat.com Date: Thu Jun 19 15:33:34 2014 +0200 fdo#80108 keep at least the version in sync Change-Id: I9cf7d8f7fd834a2cc52895f989f2a05f5da01897 diff --git a/readlicense_oo/docs/readme.xrm b/readlicense_oo/docs/readme.xrm index df8a5e6..a6f1e30 100644 --- a/readlicense_oo/docs/readme.xrm +++ b/readlicense_oo/docs/readme.xrm @@ -104,7 +104,7 @@ p id=rpminstall7a xml:lang=en-USAlternatively, you can use the 'install' script, located in the toplevel directory of this archive to perform an installation as a user. The script will set up ${PRODUCTNAME} to have its own profile for this installation, separated from your normal ${PRODUCTNAME} profile. Note that this will not install the system integration parts such as desktop menu items and desktop MIME type registrations./p h3 id=sdfsdfgf42t2 xml:lang=en-USNotes Concerning Desktop Integration for Linux Distributions Not Covered in the Above Installation Instructions/h3 p id=otherinstall1 xml:lang=en-USIt should be easily possible to install ${PRODUCTNAME} on other Linux distributions not specifically covered in these installation instructions. The main aspect for which differences might be encountered is desktop integration./p - p id=otherinstall2 xml:lang=en-USThe RPMS (or DEBS, respectively) directory also contains a package named libreoffice4.1-freedesktop-menus-4.1.0-3.noarch.rpm (or libreoffice4.1-debian-menus_4.1.0-3_all.deb, respectively, or similar). This is a package for all Linux distributions that support the Freedesktop.org specifications/recommendations (a href=http://en.wikipedia.org/wiki/Freedesktop.org;http://en.wikipedia.org/wiki/Freedesktop.org/a), and is provided for installation on other Linux distributions not covered in the aforementioned instructions./p + p id=otherinstall2 xml:lang=en-USThe RPMS (or DEBS, respectively) directory also contains a package named libreoffice${PRODUCTVERSION}-freedesktop-menus-${PRODUCTVERSION}.0.1-1.noarch.rpm (or libreoffice${PRODUCTVERSION}-debian-menus_${PRODUCTVERSION}.0.1-1_all.deb, respectively, or similar). This is a package for all Linux distributions that support the Freedesktop.org specifications/recommendations (a href=http://en.wikipedia.org/wiki/Freedesktop.org;http://en.wikipedia.org/wiki/Freedesktop.org/a), and is provided for installation on other Linux distributions not covered in the aforementioned instructions./p h3 id=sdfsdfgf42t3 xml:lang=en-USInstalling a Language Pack/h3 p id=linuxlangpack1 xml:lang=en-USDownload the language pack for your desired language and platform. They are available from the same location as the main installation archive. From the Nautilus file manager, extract the downloaded archive into a directory (your desktop, for instance). Ensure that you have exited all ${PRODUCTNAME} applications (including the QuickStarter, if it is started)./p p id=linuxlangpack2 xml:lang=en-USChange directory to the directory in which you extracted your downloaded language pack./p ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: 3 commits - chart2/source
chart2/source/controller/dialogs/tp_DataSource.cxx | 11 ++- chart2/source/view/charttypes/GL3DBarChart.cxx |6 +++--- 2 files changed, 13 insertions(+), 4 deletions(-) New commits: commit 1f3f725a29412b49ac8ded7b425674ef10afc7b3 Author: Markus Mohrhard markus.mohrh...@collabora.co.uk Date: Thu Jun 19 15:36:38 2014 +0200 small text positioning fixes Change-Id: I7fb42f0c34c5216421324f471a813f4668b4a878 diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx index 9c22929..29a6fbd 100644 --- a/chart2/source/view/charttypes/GL3DBarChart.cxx +++ b/chart2/source/view/charttypes/GL3DBarChart.cxx @@ -244,7 +244,7 @@ void GL3DBarChart::create3DShapes(const boost::ptr_vectorVDataSeries rDataSer aCats[i], nId)); nId += ID_STEP; opengl3D::Text* p = static_castopengl3D::Text*(maShapes.back()); -aTopLeft.x = nXPos + TEXT_HEIGHT; +aTopLeft.x = nXPos + TEXT_HEIGHT + 0.5 * BAR_SIZE_X; aTopLeft.y = nYPos + calculateTextWidth(aCats[i]) + 0.5 * BAR_DISTANCE_Y; aTopRight = aTopLeft; aTopRight.y = nYPos + 0.5* BAR_DISTANCE_Y; @@ -258,7 +258,7 @@ void GL3DBarChart::create3DShapes(const boost::ptr_vectorVDataSeries rDataSer aCats[i], nId)); nId += ID_STEP; p = static_castopengl3D::Text*(maShapes.back()); -aTopLeft.x = nXPos + TEXT_HEIGHT; +aTopLeft.x = nXPos + TEXT_HEIGHT + 0.5 * BAR_SIZE_X; aTopLeft.y = - 0.5 * BAR_DISTANCE_Y; aTopRight = aTopLeft; aTopRight.y = -calculateTextWidth(aCats[i]) - 0.5* BAR_DISTANCE_Y; commit 6e427b30fe113b3717f00515ee70458dbb9dbfab Author: Markus Mohrhard markus.mohrh...@collabora.co.uk Date: Thu Jun 19 15:36:29 2014 +0200 use better default colors Change-Id: I0790f157632351a8fe68abf8f12041907027d6c9 diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx index 0fc12b1..9c22929 100644 --- a/chart2/source/view/charttypes/GL3DBarChart.cxx +++ b/chart2/source/view/charttypes/GL3DBarChart.cxx @@ -116,7 +116,7 @@ void GL3DBarChart::create3DShapes(const boost::ptr_vectorVDataSeries rDataSer float nYPos = 0.0; const Color aSeriesColor[] = { -COL_RED, COL_GREEN, COL_YELLOW, COL_BROWN, COL_GRAY +COL_RED, COL_GREEN, COL_YELLOW, COL_BROWN, COL_BLUE }; maCategories.clear(); commit d5a0926c2359a4f8bd48cbea5a9c034b87d6aeeb Author: Markus Mohrhard markus.mohrh...@collabora.co.uk Date: Thu Jun 19 15:34:50 2014 +0200 fix range input in chart data source dialog Change-Id: I9c139c6298d25c7a7072d0d0538f1945518d36f2 diff --git a/chart2/source/controller/dialogs/tp_DataSource.cxx b/chart2/source/controller/dialogs/tp_DataSource.cxx index 8a83c5b..a13a461 100644 --- a/chart2/source/controller/dialogs/tp_DataSource.cxx +++ b/chart2/source/controller/dialogs/tp_DataSource.cxx @@ -736,8 +736,17 @@ IMPL_LINK_NOARG(DataSourceTabPage, DownButtonClickedHdl) IMPL_LINK( DataSourceTabPage, RangeModifiedHdl, Edit*, pEdit ) { +// note: isValid sets the color of the edit field if( isRangeFieldContentValid( *pEdit )) +{ setDirty(); +updateModelFromControl( pEdit ); +if( pEdit == m_pEDT_RANGE ) +{ +if( ! lcl_UpdateCurrentSeriesName( *m_pLB_SERIES )) +fillSeriesListBox(); +} +} // enable/disable OK button isValid(); @@ -752,7 +761,7 @@ IMPL_LINK( DataSourceTabPage, RangeUpdateDataHdl, Edit*, pEdit ) { setDirty(); updateModelFromControl( pEdit ); -if( pEdit== m_pEDT_RANGE ) +if( pEdit == m_pEDT_RANGE ) { if( ! lcl_UpdateCurrentSeriesName( *m_pLB_SERIES )) fillSeriesListBox(); ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: sw/source
sw/source/filter/ww8/docxattributeoutput.cxx |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit ca6fadad69ec74f413de40a880349490a5311d9c Author: Stephan Bergmann sberg...@redhat.com Date: Thu Jun 19 16:02:00 2014 +0200 loplugin:literaltoboolconversion Change-Id: Ie21ec9cbdf88bd009368c09e49b9956cd001a5d3 diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index e7144c7..ebaaecb 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -376,7 +376,6 @@ bool DocxAttributeOutput::TextBoxIsFramePr(const SwFrmFmt rFrmFmt) if (xPropertySet.is()) xPropSetInfo = xPropertySet-getPropertySetInfo(); uno::Any aFrameProperties ; -bool bFrameProperties = 0; if (xPropSetInfo.is() xPropSetInfo-hasPropertyByName(FrameInteropGrabBag)) { uno::Sequence beans::PropertyValue propList; @@ -391,6 +390,7 @@ bool DocxAttributeOutput::TextBoxIsFramePr(const SwFrmFmt rFrmFmt) } } } +bool bFrameProperties = false; aFrameProperties = bFrameProperties; return bFrameProperties; } ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Branch 'feature/gsoc14-colors' - include/svx svx/source
include/svx/SvxColorValueSet.hxx |1 svx/source/tbxctrls/SvxColorValueSet.cxx | 13 +++ svx/source/tbxctrls/colorwindow.hxx |3 svx/source/tbxctrls/tbcontrl.cxx | 113 ++- 4 files changed, 83 insertions(+), 47 deletions(-) New commits: commit 0d0c2fcb2fa2dfd0df8abc63e703d7f12fa6799f Author: Krisztian Pinter pin.termina...@gmail.com Date: Thu Jun 19 16:04:00 2014 +0200 Add ability to switch between default and document colors Change-Id: Ice8d58028a531b37d2c03fdc3e55eea850c53d44 diff --git a/include/svx/SvxColorValueSet.hxx b/include/svx/SvxColorValueSet.hxx index 8690a48..7502d93 100644 --- a/include/svx/SvxColorValueSet.hxx +++ b/include/svx/SvxColorValueSet.hxx @@ -39,6 +39,7 @@ public: sal_uInt32 getColumnCount() const; void addEntriesForXColorList(const XColorList rXColorList, sal_uInt32 nStartIndex = 1); +void addEntriesForColorVector(const std::vectorColor rColorVector, sal_uInt32 nStartIndex = 1); Size layoutAllVisible(sal_uInt32 nEntryCount); Size layoutToGivenHeight(sal_uInt32 nHeight, sal_uInt32 nEntryCount); }; diff --git a/svx/source/tbxctrls/SvxColorValueSet.cxx b/svx/source/tbxctrls/SvxColorValueSet.cxx index 4f145fc..1ee94f1 100644 --- a/svx/source/tbxctrls/SvxColorValueSet.cxx +++ b/svx/source/tbxctrls/SvxColorValueSet.cxx @@ -88,6 +88,19 @@ void SvxColorValueSet::addEntriesForXColorList(const XColorList rXColorList, sa } } +void SvxColorValueSet::addEntriesForColorVector(const std::vectorColor rColorVector, sal_uInt32 nStartIndex) +{ +const sal_uInt32 nColorCount(rColorVector.size()); + +//for(sal_uInt32 nIndex(0); nIndex nColorCount; nIndex++, nStartIndex++) +for(std::vectorColor::const_iterator it = rColorVector.begin(); +it != rColorVector.end(); it++, nStartIndex++) +{ +const Color rEntry = *it; +InsertItem(nStartIndex, rEntry, ); +} +} + Size SvxColorValueSet::layoutAllVisible(sal_uInt32 nEntryCount) { if(!nEntryCount) diff --git a/svx/source/tbxctrls/colorwindow.hxx b/svx/source/tbxctrls/colorwindow.hxx index 6bb9f92..c699986 100644 --- a/svx/source/tbxctrls/colorwindow.hxx +++ b/svx/source/tbxctrls/colorwindow.hxx @@ -49,6 +49,9 @@ private: const sal_uInt16 nNavButtonWidth; const sal_uInt16 nNavButtonHeight; sal_uInt16 rnCurrentPalette; +sal_uInt16 nNumOfPalettes; + +void ReloadColorSet(); DECL_LINK( SelectHdl, void * ); DECL_LINK( StepLeftClickHdl, void * ); diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index 1c8763f..f2608bd 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -1091,32 +1091,10 @@ SvxColorWindow_Impl::SvxColorWindow_Impl( const OUStringrCommand, maCommand( rCommand ), nNavButtonWidth ( 20 ), nNavButtonHeight( 20 ), -rnCurrentPalette( rnCurrentPalette_ ) +rnCurrentPalette( rnCurrentPalette_ ), +nNumOfPalettes( 1 ) { -SfxObjectShell* pDocSh = SfxObjectShell::Current(); -const SfxPoolItem* pItem = NULL; -XColorListRef pColorList; - -if ( pDocSh ) -{ -if ( 0 != ( pItem = pDocSh-GetItem( SID_COLOR_TABLE ) ) ) -pColorList = ( (SvxColorListItem*)pItem )-GetColorList(); -// Add doc colors to palette -XColorEntry* pEntry; -std::vectorColor aColors = pDocSh-GetDocColors(); -for( unsigned int i = 0; i aColors.size(); ++i ) -{ -pEntry = new XColorEntry( aColors[i], -Document Color + OUString::number(i) ); -pColorList-Insert( pEntry, pColorList-Count() ); -} -//- -} - -if ( !pColorList.is() ) -pColorList = XColorList::CreateStdColorList(); - if ( SID_ATTR_CHAR_COLOR_BACKGROUND == theSlotId || SID_BACKGROUND_COLOR == theSlotId ) { aColorSet.SetStyle( aColorSet.GetStyle() | WB_NONEFIELD ); @@ -1148,29 +1126,16 @@ SvxColorWindow_Impl::SvxColorWindow_Impl( const OUStringrCommand, aColorSet.SetAccessibleName( SVX_RESSTR( RID_SVXSTR_LINECOLOR ) ); } -if ( pColorList.is() ) -{ -const long nColorCount(pColorList-Count()); -const Size aNewSize(aColorSet.layoutAllVisible(nColorCount)); -aColorSet.SetOutputSizePixel(aNewSize); -static sal_Int32 nAdd = 4; +if( SfxObjectShell::Current()-GetDocColors().size() 0 ) +nNumOfPalettes++; -SetOutputSizePixel(Size(aNewSize.Width() + nAdd, aNewSize.Height() + nAdd + nNavButtonHeight)); -aColorSet.Clear(); -aColorSet.addEntriesForXColorList(*pColorList); +aButtonLeft.SetText(); +aButtonLeft.SetClickHdl( LINK( this, SvxColorWindow_Impl, StepLeftClickHdl ) ); +aButtonLeft.Show(); -aButtonLeft.SetText(); -aButtonLeft.SetClickHdl( LINK( this, SvxColorWindow_Impl, StepLeftClickHdl ) ); -
[Libreoffice-commits] core.git: Branch 'private/kohei/chart-bugs' - comphelper/source include/comphelper include/svx sc/source sd/source svx/source sw/source
Rebased ref, commits from common ancestor: commit 52036f1a18e92e4e7f6230895dbb12564b8d0850 Author: Kohei Yoshida kohei.yosh...@collabora.com Date: Wed Jun 18 23:20:55 2014 -0400 Pass source and destination shell IDs when pasting from Calc to Calc. This modifies the signature of one variant of Paste() virtual method of SdrExchangeView and its child classes. Change-Id: I54c39b18c260e25d78e126aaabeaaf642ad049f8 diff --git a/comphelper/source/container/embeddedobjectcontainer.cxx b/comphelper/source/container/embeddedobjectcontainer.cxx index 50a304b..9437893 100644 --- a/comphelper/source/container/embeddedobjectcontainer.cxx +++ b/comphelper/source/container/embeddedobjectcontainer.cxx @@ -487,7 +487,9 @@ void EmbeddedObjectContainer::AddEmbeddedObject( const ::com::sun::star::uno::Re } } -bool EmbeddedObjectContainer::StoreEmbeddedObject( const uno::Reference embed::XEmbeddedObject xObj, OUString rName, bool bCopy ) +bool EmbeddedObjectContainer::StoreEmbeddedObject( +const uno::Reference embed::XEmbeddedObject xObj, OUString rName, bool bCopy, +const OUString rSrcShellID, const OUString rDestShellID ) { uno::Reference embed::XEmbedPersist xPersist( xObj, uno::UNO_QUERY ); if ( rName.isEmpty() ) @@ -506,7 +508,14 @@ bool EmbeddedObjectContainer::StoreEmbeddedObject( const uno::Reference embed: { uno::Sequence beans::PropertyValue aSeq; if ( bCopy ) -xPersist-storeToEntry( pImpl-mxStorage, rName, aSeq, aSeq ); +{ +uno::Sequencebeans::PropertyValue aObjArgs(2); +aObjArgs[0].Name = SourceShellID; +aObjArgs[0].Value = rSrcShellID; +aObjArgs[1].Name = DestinationShellID; +aObjArgs[1].Value = rDestShellID; +xPersist-storeToEntry(pImpl-mxStorage, rName, aSeq, aObjArgs); +} else { //TODO/LATER: possible optimization, don't store immediately @@ -529,7 +538,7 @@ bool EmbeddedObjectContainer::StoreEmbeddedObject( const uno::Reference embed: bool EmbeddedObjectContainer::InsertEmbeddedObject( const uno::Reference embed::XEmbeddedObject xObj, OUString rName ) { // store it into the container storage -if ( StoreEmbeddedObject( xObj, rName, false ) ) +if (StoreEmbeddedObject(xObj, rName, false, OUString(), OUString())) { // remember object AddEmbeddedObject( xObj, rName ); @@ -683,7 +692,9 @@ bool EmbeddedObjectContainer::TryToCopyGraphReplacement( EmbeddedObjectContainer return bResult; } -uno::Reference embed::XEmbeddedObject EmbeddedObjectContainer::CopyAndGetEmbeddedObject( EmbeddedObjectContainer rSrc, const uno::Reference embed::XEmbeddedObject xObj, OUString rName ) +uno::Reference embed::XEmbeddedObject EmbeddedObjectContainer::CopyAndGetEmbeddedObject( +EmbeddedObjectContainer rSrc, const uno::Reference embed::XEmbeddedObject xObj, OUString rName, +const OUString rSrcShellID, const OUString rDestShellID ) { uno::Reference embed::XEmbeddedObject xResult; @@ -703,7 +714,7 @@ uno::Reference embed::XEmbeddedObject EmbeddedObjectContainer::CopyAndGetEmb rName = CreateUniqueObjectName(); // objects without persistence are not really stored by the method -if ( xObj.is() StoreEmbeddedObject( xObj, rName, true ) ) +if (xObj.is() StoreEmbeddedObject(xObj, rName, true, rSrcShellID, rDestShellID)) { xResult = Get_Impl( rName, xObj); if ( !xResult.is() ) diff --git a/include/comphelper/embeddedobjectcontainer.hxx b/include/comphelper/embeddedobjectcontainer.hxx index 28be667..8895a8d 100644 --- a/include/comphelper/embeddedobjectcontainer.hxx +++ b/include/comphelper/embeddedobjectcontainer.hxx @@ -58,7 +58,9 @@ class COMPHELPER_DLLPUBLIC EmbeddedObjectContainer public: // add an embedded object to the container storage -boolStoreEmbeddedObject( const ::com::sun::star::uno::Reference ::com::sun::star::embed::XEmbeddedObject , OUString, bool ); +bool StoreEmbeddedObject( +const css::uno::Referencecss::embed::XEmbeddedObject xObj, OUString rName, bool bCopy, +const OUString rSrcShellID, const OUString rDestShellID ); // add an embedded object that has been imported from the container storage - should only be called by filters! voidAddEmbeddedObject( const ::com::sun::star::uno::Reference ::com::sun::star::embed::XEmbeddedObject , const OUString ); @@ -119,7 +121,9 @@ public: InsertEmbeddedObject( const ::com::sun::star::uno::Reference ::com::sun::star::io::XInputStream , OUString ); // copy an embedded object into the storage, open the new copy and return it -::com::sun::star::uno::Reference ::com::sun::star::embed::XEmbeddedObject CopyAndGetEmbeddedObject( EmbeddedObjectContainer rSrc, const
[Libreoffice-commits] core.git: Branch 'private/kohei/chart-bugs' - 2 commits - offapi/com xmloff/source
offapi/com/sun/star/datatransfer/XTransferable2.idl |7 +++ xmloff/source/chart/SchXMLExport.cxx|4 2 files changed, 3 insertions(+), 8 deletions(-) New commits: commit 3dfaa840f6cc0a183b14ae12f9f723e6cef385ea Author: Kohei Yoshida kohei.yosh...@collabora.com Date: Thu Jun 19 10:57:15 2014 -0400 Update the API doc to reflect the change. Change-Id: I12940317edcce2f9698812a571d0dbc483c1f4c1 diff --git a/offapi/com/sun/star/datatransfer/XTransferable2.idl b/offapi/com/sun/star/datatransfer/XTransferable2.idl index ee07e1d..5ff7d58 100644 --- a/offapi/com/sun/star/datatransfer/XTransferable2.idl +++ b/offapi/com/sun/star/datatransfer/XTransferable2.idl @@ -18,9 +18,8 @@ interface XTransferable2 : com::sun::star::datatransfer::XTransferable additional parameter that specifies the destination document type. @param aFlavor requested data format -@param aDestDoc destination document type given as document service -type which may be used to adjust data content based on the destination -type. +@param aDestShellID destination document shell ID. The ID of each +individual shell must be unique. @returns data in specified data format. @@ -30,7 +29,7 @@ interface XTransferable2 : com::sun::star::datatransfer::XTransferable @throws com::sun::star::datatransfer::UnsupportedFlavorException if the requested DataFlavor is not supported. */ -any getTransferData2( [in] DataFlavor aFlavor, [in] string aDestDoc ) +any getTransferData2( [in] DataFlavor aFlavor, [in] string aDestShellID ) raises ( UnsupportedFlavorException, com::sun::star::io::IOException ); }; commit c445a679bab81d9b9a97c59e4e7a671fdc3d8e3b Author: Kohei Yoshida kohei.yosh...@collabora.com Date: Thu Jun 19 10:53:02 2014 -0400 Remove this debug statement. Change-Id: Ibe2bc19e9cec1d112eb3e3bf631896203974b7e1 diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx index e9beedf..8e4e994 100644 --- a/xmloff/source/chart/SchXMLExport.cxx +++ b/xmloff/source/chart/SchXMLExport.cxx @@ -2326,10 +2326,6 @@ void SchXMLExportHelper_Impl::exportAxis( lcl_exportNumberFormat( sNumFormat, xAxisProps, mrExport ); aPropertyStates = mxExpPropMapper-Filter( xAxisProps ); -fprintf(stdout, SchXMLExportHelper_Impl::exportAxis: src shell = '%s' dest shell = '%s'\n, -rtl::OUStringToOString(maSrcShellID, RTL_TEXTENCODING_UTF8).getStr(), -rtl::OUStringToOString(maDestShellID, RTL_TEXTENCODING_UTF8).getStr()); - if (!maSrcShellID.isEmpty() !maDestShellID.isEmpty() maSrcShellID != maDestShellID) { // Disable link to source number format property when pasting to ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: sc/source
sc/source/ui/unoobj/docuno.cxx |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 0b793116deaf35ce67245c1106e5ed5a722c7560 Author: David Tardon dtar...@redhat.com Date: Thu Jun 19 16:57:03 2014 +0200 rhbz#216 allow to export an empty sheet to PDF This is to consolidate Calc's behaviour with the other applications, which always present at least one page for printing / PDF export. Change-Id: Iedf438618020c1e6d8ded5ac950c8ca2b12ad439 diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index 9aeceb7..75cabca 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -958,7 +958,7 @@ sal_Int32 SAL_CALL ScModelObj::getRendererCount(const uno::Any aSelection, StringRangeEnumerator aRangeEnum( aPagesStr, 0, nPages-1 ); nSelectCount = aRangeEnum.size(); } -return nSelectCount; +return (nSelectCount 0) ? nSelectCount : 1; } static sal_Int32 lcl_GetRendererNum( sal_Int32 nSelRenderer, const OUString rPagesStr, sal_Int32 nTotalPages ) ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: sw/inc sw/source
sw/inc/textboxhelper.hxx |4 ++ sw/source/core/doc/docfly.cxx|2 + sw/source/core/doc/textboxhelper.cxx | 50 +++ 3 files changed, 56 insertions(+) New commits: commit 8ba6d7a809d51edcb8b93d3298b9d27155276cec Author: Miklos Vajna vmik...@collabora.co.uk Date: Thu Jun 19 17:10:59 2014 +0200 SwDoc::SetFlyFrmAttr: sync position between draw shape and its textbox The effect of this is that if you move around a shape (having a textbox) with the keyboard or mouse, then the position of the textbox is now also adjusted as you would expect it, as a user. Change-Id: Ie079f8c7b76e9a97095e4233eded5bda514cf405 diff --git a/sw/inc/textboxhelper.hxx b/sw/inc/textboxhelper.hxx index 665f82a..c7ba2f4 100644 --- a/sw/inc/textboxhelper.hxx +++ b/sw/inc/textboxhelper.hxx @@ -23,6 +23,7 @@ #include swdllapi.h class SdrPage; +class SfxItemSet; class SwFrmFmt; class SwFrmFmts; class SwFmtCntnt; @@ -57,6 +58,9 @@ public: /// Get a property of the underlying TextFrame. static void getProperty(SwFrmFmt* pShape, sal_uInt16 nWID, sal_uInt8 nMemberID, css::uno::Any rValue); +/// Similar to syncProperty(), but used by the internal API (e.g. for UI purposes). +static void syncFlyFrmAttr(SwFrmFmt rShape, SfxItemSet rSet); + /// If we have an associated TextFrame, then return that. static SwFrmFmt* findTextBox(SwFrmFmt* pShape); static SwFrmFmt* findTextBox(css::uno::Referencecss::drawing::XShape xShape); diff --git a/sw/source/core/doc/docfly.cxx b/sw/source/core/doc/docfly.cxx index d3982f1..79f516e 100644 --- a/sw/source/core/doc/docfly.cxx +++ b/sw/source/core/doc/docfly.cxx @@ -534,6 +534,8 @@ bool SwDoc::SetFlyFrmAttr( SwFrmFmt rFlyFmt, SfxItemSet rSet ) SetModified(); +SwTextBoxHelper::syncFlyFrmAttr(rFlyFmt, rSet); + return bRet; } diff --git a/sw/source/core/doc/textboxhelper.cxx b/sw/source/core/doc/textboxhelper.cxx index 39e9828..06bbc7f 100644 --- a/sw/source/core/doc/textboxhelper.cxx +++ b/sw/source/core/doc/textboxhelper.cxx @@ -12,6 +12,7 @@ #include fmtcntnt.hxx #include fmtanchr.hxx #include fmtcnct.hxx +#include fmtornt.hxx #include doc.hxx #include docsh.hxx #include docary.hxx @@ -30,6 +31,7 @@ #include svx/svdoashp.hxx #include svx/unopage.hxx #include svx/svdpage.hxx +#include svl/itemiter.hxx #include com/sun/star/document/XActionLockable.hpp #include com/sun/star/table/BorderLine2.hpp @@ -472,4 +474,52 @@ void SwTextBoxHelper::restoreLinks(std::set_ZSortFly rOld, std::vectorSwFrmF } } +void SwTextBoxHelper::syncFlyFrmAttr(SwFrmFmt rShape, SfxItemSet rSet) +{ +if (SwFrmFmt* pFmt = findTextBox(rShape)) +{ +SfxItemSet aTextBoxSet(pFmt-GetDoc()-GetAttrPool(), aFrmFmtSetRange); + +SfxItemIter aIter(rSet); +sal_uInt16 nWhich = aIter.GetCurItem()-Which(); +do +{ +switch (nWhich) +{ +case RES_VERT_ORIENT: +{ +const SwFmtVertOrient rOrient = static_castconst SwFmtVertOrient(*aIter.GetCurItem()); +SwFmtVertOrient aOrient(rOrient); + +Rectangle aRect = getTextRectangle(rShape, /*bAbsolute=*/false); +if (!aRect.IsEmpty()) +aOrient.SetPos(aOrient.GetPos() + aRect.getY()); + +aTextBoxSet.Put(aOrient); +} +break; +case RES_HORI_ORIENT: +{ +const SwFmtHoriOrient rOrient = static_castconst SwFmtHoriOrient(*aIter.GetCurItem()); +SwFmtHoriOrient aOrient(rOrient); + +Rectangle aRect = getTextRectangle(rShape, /*bAbsolute=*/false); +if (!aRect.IsEmpty()) +aOrient.SetPos(aOrient.GetPos() + aRect.getX()); + +aTextBoxSet.Put(aOrient); +} +break; +} + +if (aIter.IsAtEnd()) +break; +} +while (0 != (nWhich = aIter.NextItem()-Which())); + +if (aTextBoxSet.Count()) +pFmt-GetDoc()-SetFlyFrmAttr(*pFmt, aTextBoxSet); +} +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: 2 commits - sw/source xmloff/source
sw/source/filter/ascii/ascatr.cxx |8 ++-- xmloff/source/text/txtparae.cxx |9 + 2 files changed, 11 insertions(+), 6 deletions(-) New commits: commit ef3e481be37a387f6549a561daee890da6712cf5 Author: Stephan Bergmann sberg...@redhat.com Date: Thu Jun 19 17:54:27 2014 +0200 Do not call SwASC_AttrIter::NextPos when nAktSwPos is already SAL_MAX_INT32 ...and calculating nAktSwPos + 1 would overflow. Reported by CppunitTest_sw_odfexport under -sanitize=undefined. Change-Id: I78bd540851192a768400ce348b42228f9cb10b72 diff --git a/sw/source/filter/ascii/ascatr.cxx b/sw/source/filter/ascii/ascatr.cxx index 1fb879f..04a5d89 100644 --- a/sw/source/filter/ascii/ascatr.cxx +++ b/sw/source/filter/ascii/ascatr.cxx @@ -197,7 +197,7 @@ static Writer OutASC_SwTxtNode( Writer rWrt, SwCntntNode rNode ) const bool bExportSoftHyphens = RTL_TEXTENCODING_UCS2 == rWrt.GetAsciiOptions().GetCharSet() || RTL_TEXTENCODING_UTF8 == rWrt.GetAsciiOptions().GetCharSet(); -do { +for (;;) { const sal_Int32 nNextAttr = std::min(aAttrIter.WhereNext(), nEnd); if( !aAttrIter.OutAttr( nStrPos )) @@ -209,8 +209,12 @@ static Writer OutASC_SwTxtNode( Writer rWrt, SwCntntNode rNode ) rWrt.Strm().WriteUnicodeOrByteText( aOutStr ); } nStrPos = nNextAttr; +if (nStrPos = nEnd) +{ +break; +} aAttrIter.NextPos(); -} while( nStrPos nEnd ); +} if( !bLastNd || ( ( !rWrt.bWriteClipboardDoc !rWrt.bASCII_NoLastLineEnd ) commit d8e7624c9a874aee3ab782715117b118ddd0c496 Author: Stephan Bergmann sberg...@redhat.com Date: Thu Jun 19 17:51:36 2014 +0200 Do not dereference null pointer ...and XMLTextCharStyleNamesElementExport only requires a non-null rPropSet arg when its bDoSomething arg is true. Reported by CppunitTest_sw_odfexport under -sanitize=undefined. Change-Id: Ia45fa7db250f83d746829c7f411e78bbc50bf721 diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index 7c91085..108fe8e 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -2843,11 +2843,12 @@ void XMLTextParagraphExport::exportAnyTextFrame( else bIsUICharStyle = false; +bool bDoSomething = bIsUICharStyle + aCharStyleNamesPropInfoCache.hasProperty( *pRangePropSet ); XMLTextCharStyleNamesElementExport aCharStylesExport( -GetExport(), bIsUICharStyle - aCharStyleNamesPropInfoCache.hasProperty( -*pRangePropSet ), bHasAutoStyle, -*pRangePropSet, sCharStyleNames ); +GetExport(), bDoSomething, bHasAutoStyle, +bDoSomething ? *pRangePropSet : ReferenceXPropertySet(), +sCharStyleNames ); if( !sStyle.isEmpty() ) GetExport().AddAttribute( XML_NAMESPACE_TEXT, XML_STYLE_NAME, ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: sw/qa writerfilter/source
sw/qa/core/data/rtf/pass/abi2720.rtf | 259 + writerfilter/source/rtftok/rtfdocumentimpl.cxx |8 2 files changed, 264 insertions(+), 3 deletions(-) New commits: commit 3cab1adf19d553663685e8198f0ec3f258a37c36 Author: Miklos Vajna vmik...@collabora.co.uk Date: Thu Jun 19 17:49:29 2014 +0200 abi#2720 RTF import: handle non-graphic object after a graphic one Change-Id: I9416b6e7cf3677006215fcbde458ed341c4e3e9e diff --git a/sw/qa/core/data/rtf/pass/abi2720.rtf b/sw/qa/core/data/rtf/pass/abi2720.rtf new file mode 100644 index 000..a337bda --- /dev/null +++ b/sw/qa/core/data/rtf/pass/abi2720.rtf @@ -0,0 +1,259 @@ +{\rtf1 +\pard\plain \widctlpar\adjustright +\fs20\lang1031\cgrid +{\lang1024 +{\shpgrp +{\*\shpinst\shpleft0\shptop0\shpright14175\shpbottom9071\shpfhdr0\shpbxcolumn\shpbypara\shpwr3\shpwrk0\shpfblwtxt0\shpz1\shplid1032 +{\sp +{\sn groupLeft} +{\sv 1418} +} +{\sp +{\sn groupTop} +{\sv 1418} +} +{\sp +{\sn groupRight} +{\sv 15593} +} +{\sp +{\sn groupBottom} +{\sv 10489} +} +{\sp +{\sn fFlipH} +{\sv 0} +} +{\sp +{\sn fFlipV} +{\sv 0} +} +{\sp +{\sn lidRegroup} +{\sv 0} +} +{\shp +{\*\shpinst\shplid1037 +{\sp +{\sn relLeft} +{\sv 2856} +} +{\sp +{\sn relTop} +{\sv 4008} +} +{\sp +{\sn relRight} +{\sv 3216} +} +{\sp +{\sn relBottom} +{\sv 4176} +} +{\sp +{\sn fRelFlipH} +{\sv 0} +} +{\sp +{\sn fRelFlipV} +{\sv 0} +} +{\sp +{\sn shapeType} +{\sv 0} +} +{\sp +{\sn geoRight} +{\sv 360} +} +{\sp +{\sn geoBottom} +{\sv 168} +} +{\sp +{\sn shapePath} +{\sv 4} +} +{\sp +{\sn pVerticies} +{\sv 8;10;(168,168);(84,108);(0,48);(24,24);(48,0);(264,0);(312,24);(360,48);(336,108);(312,168)} +} +{\sp +{\sn pSegmentInfo} +{\sv 2;9;16384;44288;8193 +;44288;8193;44288;8193;44032;32768} +} +{\sp +{\sn fFillOK} +{\sv 1} +} +{\sp +{\sn fFilled} +{\sv 0} +} +{\sp +{\sn lineEndArrowhead} +{\sv 2} +} +{\sp +{\sn lineEndArrowWidth} +{\sv 1} +} +{\sp +{\sn lineEndArrowLength} +{\sv 0} +} +{\sp +{\sn fArrowheadsOK} +{\sv 1} +} +{\sp +{\sn lidRegroup} +{\sv 0} +} +} +} +} +{\shprslt +{\*\do\dobxcolumn\dobypara\dodhgt8193\dppolygon\dppolycount4\dpptx0\dppty0\dpptx14175\dppty0\dpptx14175\dppty9071\dpptx0\dppty9071\dpx0\dpy0\dpxsize14175\dpysize9071 +\dpfillfgcr255\dpfillfgcg255\dpfillfgcb255\dpfillbgcr255\dpfillbgcg255\dpfillbgcb255\dpfillpat1\dplinew15\dplinecor0\dplinecog0\dplinecob0} +} +} +} +{\page } +{\lang1024 +{\shpgrp +{\*\shpinst\shpleft0\shptop0\shpright14175\shpbottom9071\shpfhdr0\shpbxcolumn\shpbypara\shpwr3\shpwrk0\shpfblwtxt0\shpz2\shplid1038 +{\sp +{\sn groupLeft} +{\sv 1418} +} +{\sp +{\sn groupTop} +{\sv 1418} +} +{\sp +{\sn groupRight} +{\sv 15593} +} +{\sp +{\sn groupBottom} +{\sv 10489} +} +{\sp +{\sn fFlipH} +{\sv 0} +} +{\sp +{\sn fFlipV} +{\sv 0} +} +{\sp +{\sn lidRegroup} +{\sv 0} +} +{\shp +{\*\shpinst\shplid1041 +{\sp +{\sn relLeft} +{\sv 8506} +} +{\sp +{\sn relTop} +{\sv 5954} +} +{\sp +{\sn relRight} +{\sv 15593} +} +{\sp +{\sn relBottom} +{\sv 10489} +} +{\sp +{\sn fRelFlipH} +{\sv 0} +} +{\sp +{\sn fRelFlipV} +{\sv 0} +} +{\sp +{\sn shapeType} +{\sv 202} +} +{\sp +{\sn lTxid} +{\sv 458752} +} +{\sp +{\sn hspNext} +{\sv 1041} +} +{\sp +{\sn fFitShapeToText} +{\sv 0} +} +{\shptxt \pard\plain +\pard\plain \widctlpar\adjustright \f1\fs20\lang1031\cgrid +{\f1\dn28 +{\pict +{\*\picprop\shplid1025 +{\sp +{\sn shapeType} +{\sv 75} +} +{\sp +{\sn fFlipH} +{\sv 0} +} +{\sp +{\sn fFlipV} +{\sv 0} +} +{\sp +{\sn pictureActive} +{\sv 0} +} +{\sp +{\sn fillColor} +{\sv 268435473} +} +{\sp +{\sn fFilled} +{\sv 0} +} +{\sp +{\sn fLine} +{\sv 0} +} +} +\picscalex100\picscaley100\piccropl0\piccropr0\piccropt0\piccropb0\picw1870\pich1199\picwgoal1060\pichgoal680\wmetafile8\bliptag-1230064263\blipupi-1583 +{\*\blipuid b6aeb57956b0ad18d349a83cd13b7dd7} +010009037001020015000500090204000201010005000102ff000500090204002e011800 +05003102010005000b0205000c024004a0060e0026060f0012000800c0ffbaff6006fa030b002606 +0f000c004d61746854797065e50009021500fb0280fe90010102001054696d6573204e657720526f6d61 +6e0004002d010900320a800234000100430001010900320a8002de0401004100ea001500fb0220ff9001 +0102001054696d6573204e657720526f6d616e2304002d0101000400f0010900320ad401d805010069003e000900 +320af5031503010069003e000900320aee00040301006e0070001000fb0280fe900100020002001053796d626f6c0002 +04002d010400f00101000900320a8002a40101003d00d3001000fb0220ff900100020002001053796d626f6c +000204002d0101000400f0010900320af5036a0301003d007b000900320aee00830301002d007b001000fb02c0fd +900100020002001053796d626f6c000204002d010400f00101000900320ad702e2020100e50098011500fb0220ff
[Libreoffice-commits] core.git: Branch 'aoo/trunk' - desktop/win32
desktop/win32/source/unoinfo.cxx |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) New commits: commit c20e4c606988de65d45ce3ce9608cb75deb5234a Author: Herbert Dürr h...@apache.org Date: Thu Jun 19 14:42:27 2014 + #i125115# fix unoinfo output on Windows by using plain fwrite instead of trusting fprintf to handle the wchar_t string diff --git a/desktop/win32/source/unoinfo.cxx b/desktop/win32/source/unoinfo.cxx index dbf34cf..dfb538d 100644 --- a/desktop/win32/source/unoinfo.cxx +++ b/desktop/win32/source/unoinfo.cxx @@ -66,7 +66,8 @@ void writePath( if (end == NULL) { exit(EXIT_FAILURE); } -fprintf(stdout, %S, path); +size_t nWideLen = wcslen(path); +fwrite( path, sizeof(wchar_t), nWideLen, stdout); } } @@ -103,7 +104,7 @@ int wmain(int argc, wchar_t ** argv, wchar_t **) { writeNull(); writePath(path, pathEnd, MY_STRING(Lclasses\\unoil.jar)); writeNull(); -writePath(path, pathEnd, MY_STRING(L\classes\\ridl.jar)); +writePath(path, pathEnd, MY_STRING(Lclasses\\ridl.jar)); writeNull(); writePath(path, pathEnd, MY_STRING(Lclasses\\jurt.jar)); writeNull(); ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: vcl/source
vcl/source/gdi/dibtools.cxx |9 - 1 file changed, 8 insertions(+), 1 deletion(-) New commits: commit 0b350e841db8c4b268cfe1c58ac400a7437ff605 Author: Stephan Bergmann sberg...@redhat.com Date: Thu Jun 19 18:16:11 2014 +0200 Avoid overflow Change-Id: Iedcde3411a1bfeb1eb0207f572c8befe2071f54c diff --git a/vcl/source/gdi/dibtools.cxx b/vcl/source/gdi/dibtools.cxx index b61a1ad..52708e7 100644 --- a/vcl/source/gdi/dibtools.cxx +++ b/vcl/source/gdi/dibtools.cxx @@ -17,6 +17,10 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include sal/config.h + +#include cassert + #include vcl/salbtype.hxx #include vcl/dibtools.hxx #include tools/zcodec.hxx @@ -240,7 +244,10 @@ bool ImplReadDIBInfoHeader(SvStream rIStm, DIBV5Header rHeader, bool bTopDown } // #144105# protect a little against damaged files -if( rHeader.nSizeImage ( 16 * static_cast sal_uInt32 ( rHeader.nWidth * rHeader.nHeight ) ) ) +assert(rHeader.nHeight = 0); +if (rHeader.nHeight != 0 rHeader.nWidth = 0 + (rHeader.nSizeImage / 16 / static_castsal_uInt32(rHeader.nHeight) + static_castsal_uInt32(rHeader.nWidth))) { rHeader.nSizeImage = 0; } ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - c2/0e4c606988de65d45ce3ce9608cb75deb5234a
c2/0e4c606988de65d45ce3ce9608cb75deb5234a |1 + 1 file changed, 1 insertion(+) New commits: commit 4d9a7dede8503b6a6c3a01e74aca3fa82e547150 Author: Stephan Bergmann sberg...@redhat.com Date: Thu Jun 19 18:27:32 2014 +0200 Notes added by 'git notes add' diff --git a/c2/0e4c606988de65d45ce3ce9608cb75deb5234a b/c2/0e4c606988de65d45ce3ce9608cb75deb5234a new file mode 100644 index 000..8e5c182 --- /dev/null +++ b/c2/0e4c606988de65d45ce3ce9608cb75deb5234a @@ -0,0 +1 @@ +ignore: aoo ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-4.2' - setup_native/source
setup_native/source/packinfo/DS_Store |binary 1 file changed New commits: commit 7a1a39ff608ab451241d01d2c68327e3f05101e5 Author: Andras Timar andras.ti...@collabora.com Date: Thu Jun 19 18:38:18 2014 +0200 revert to upstream DS_Store Change-Id: I4587b00b9598dfaa5f978931318b4afae0d18760 diff --git a/setup_native/source/packinfo/DS_Store b/setup_native/source/packinfo/DS_Store index 8b461d6..fec0edc 100644 Binary files a/setup_native/source/packinfo/DS_Store and b/setup_native/source/packinfo/DS_Store differ ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
minutes of ESC call ...
* Present: + Bjoern, Miklos, Michael M, Jacobo, Stephan, Cedric, Christian, Lionel, Robinson, David, Kendy, Caolan, Andras * Completed Action Items: + file calc dialog bugs in 4.3 for Caolan / students (Astron) + merge access2base 1-liner to 4.2 / 4.3 / master (Lionel) + send GDrive configure / keys to Norbert (Cloph) * Pending Action Items: + research / seek a saner access2base solution for master (Stephan) + ask UX advise wrt. wrench icons (revert or not ?) (Astron) + scripting to generate / list last week's UI changes (Cloph) * GSOC Update (Cedric) + Questions for evaluations (next week) sent out. + can prepare answers already. + net monday to friday answer. + can we file them early ? (Bjoern) + no - but Cedric/Fridrich can file for you if necessary. + mid-term evaluations: 23rd-27th June. * Release Engineering update (Christian) + 4.2.5 status + will be released tomorrow, today a German public holiday. + 4.3.0 UI and string freeze: + 1 review needed after the tag for rc1 + 4.3.0 RC1 + up-loaded to pre-releases, and synching to mirrors. + should be in time for the bug-hunt + tinderbox / windows build on 4.3 branch and master hangs (any joy ?) + apparently related to using flock to stop 2x tinderbox scripts running. + a build / setup issue. + had a hang myself in the 'services' and another test (Michael) + hanging in 'backtrace', threading issues. + unclear what to do ... perhaps 32bit Linux related. + Android / iOS remote + Late features ? + libreofficekit bits / rename etc. + changed the ABI to clean it up. + OpenGL pieces / status + impress work as well ? + pending GL capabilities check to avoid crashes + mostly affects Linux ... + pending various fixes for GLTF rendering. [ starting to be at risk ! ] + experimentalising 3D chart bits. + at risk [ Tamas to look at that ] + Calc performance fixes (?) + Writer performance fix + did see crashes with that on the stack (Stephan) + not sure if that's related AI:+ review crazy hash speedup patch (Kendy) + libfreetype for Windows? (Kendy) + libgltf: will have a non-freetype FPS rendering update. * Plugin / NPAPI decision + Some concerns: + https://bugs.freedesktop.org/show_bug.cgi?id=45071 + Chrome has already dropped NPAPI + http://blog.chromium.org/2013/09/saying-goodbye-to-our-old-friend-npapi.html + LibreOffice / NPAPI currently used by sub 5% of users + be good to get harder usage stats if possible (?) + All live browsers block them; click-to-activate etc. + no really good solutions: + no replacement API at all. http://www.firebreath.org/display/documentation/Browser+Plugins+in+a+post-NPAPI+world We have confirmed that PPAPI will not work because while Chrome supports it they don't provide any way for third parties to install PPAPI plugins. The only method of doing so involves a command-line argument, which is unsuitable for most purposes. AI: + blog about the sad reality of web plugins (Bjoern) + NPAPI will be removed in 4.4 ... (still there in 4.3). + NB. we use NPAPI for 2x things (Stephan) 1. to plug ourselves into the browser (dying on the browser side) 2. to plug the Flash player into Impress etc. + should we drop both ? + potentially problematic with existing flash embedding documents (Miklos) + Don't remove 2. - continue to support NPAPI where it works. + Could we export tiled rendering to the browser (Lool as a solution?) (Kendy) + Mozwrapper can be used to support rendering to an existing X window for a non-NPAPI supporting APP (Miklos) + so functionality is still there. * Crashtest update (Markus) + new result based on build from Sunday, June 15th http://dev-builds.libreoffice.org/crashtest/76f0a1307f779faf4f590fefafc445c077a39f26 + summary is available as http://dev-builds.libreoffice.org/crashtest/76f0a1307f779faf4f590fefafc445c077a39f26/exportCrashes.csv http://dev-builds.libreoffice.org/crashtest/76f0a1307f779faf4f590fefafc445c077a39f26/importCrash.csv http://dev-builds.libreoffice.org/crashtest/76f0a1307f779faf4f590fefafc445c077a39f26/validationErrors.csv + memcheck results + thanks to the City Of Largo + http://dev-builds.libreoffice.org/crashtest/memcheck.zip + grep for 'Invalid' or
[Libreoffice-commits] core.git: Branch 'aoo/trunk' - svtools/inc svtools/source sw/source vcl/win
svtools/inc/svtools/grfmgr.hxx | 24 +++- svtools/source/graphic/grfmgr.cxx | 47 svtools/source/graphic/grfmgr2.cxx | 72 - sw/source/core/doc/notxtfrm.cxx|3 + sw/source/core/graphic/ndgrf.cxx | 36 ++ vcl/win/source/gdi/salbmp.cxx | 54 +++ 6 files changed, 204 insertions(+), 32 deletions(-) New commits: commit 61b32a70c92ee1b1148bcd9788561b79dc1910c8 Author: Armin Le Grand a...@apache.org Date: Thu Jun 19 16:49:26 2014 + i125111 limit mem footprint for GraphicObjects in 32Bit environments diff --git a/svtools/inc/svtools/grfmgr.hxx b/svtools/inc/svtools/grfmgr.hxx index ca2e10b..a30df40 100644 --- a/svtools/inc/svtools/grfmgr.hxx +++ b/svtools/inc/svtools/grfmgr.hxx @@ -207,7 +207,10 @@ private: Timer* mpSwapOutTimer; GrfSimpleCacheObj* mpSimpleCache; sal_uLong mnAnimationLoopCount; -void* mpDummy1; + +// a unique increasing ID to be able to say which data change is older +sal_uLong mnDataChangeTimeStamp; + void* mpDummy2; sal_BoolmbAutoSwapped : 1; sal_BoolmbTransparent : 1; @@ -299,6 +302,10 @@ private: DECL_LINK( ImplAutoSwapOutHdl, void* ); +// Handle evtl. needed AfterDataChanges, needs to be called when new +// graphic data is swapped in/added to the GraphicManager +void ImplAfterDataChange(); + protected: virtual voidGraphicManagerDestroyed(); @@ -481,6 +488,12 @@ public: double fTopCrop, double fRightCrop, double fBottomCrop) const; + +// read access +sal_uLong GetDataChangeTimeStamp() const { return mnDataChangeTimeStamp; } + +// restart SwapOut timer; this is like touching in a cache to reset to the full timeout value +void restartSwapOutTimer() const; }; // -- @@ -545,6 +558,15 @@ private: ByteString SVT_DLLPRIVATE ImplGetUniqueID( const GraphicObject rObj ) const; +// This method allows to check memory footprint for all currently swapped in GraphicObjects on this GraphicManager +// which are based on Bitmaps. This is needed on 32Bit systems and only does something on those systems. The problem +// to solve is that normally the SwapOut is timer-driven, but even with short timer settings there are situations +// where this does not trigger - or in other words: A maximum limitation for GraphicManagers was not in place before. +// For 32Bit systems this leads to situations where graphics will be missing. This method will actively swap out +// the longest swapped in graphics until a maximum memory boundary (derived from user settings in tools/options/memory) +// is no longer exceeded +void ImplCheckSizeOfSwappedInGraphics(); + public: GraphicManager( sal_uLong nCacheSize = 1000UL, sal_uLong nMaxObjCacheSize = 240UL ); diff --git a/svtools/source/graphic/grfmgr.cxx b/svtools/source/graphic/grfmgr.cxx index 59dc21b..00cfcc0 100644 --- a/svtools/source/graphic/grfmgr.cxx +++ b/svtools/source/graphic/grfmgr.cxx @@ -76,6 +76,19 @@ struct GrfSimpleCacheObj TYPEINIT1_AUTOFACTORY( GraphicObject, SvDataCopyStream ); +// unique increasing ID for being able to detect the GraphicObject with the +// oldest last data changes +static sal_uLong aIncrementingTimeOfLastDataChange = 1; + +void GraphicObject::ImplAfterDataChange() +{ +// set unique timestamp ID of last data change +mnDataChangeTimeStamp = aIncrementingTimeOfLastDataChange++; + +// check memory footprint of all GraphicObjects managed and evtl. take action +GetGraphicManager().ImplCheckSizeOfSwappedInGraphics(); +} + // - GraphicObject::GraphicObject( const GraphicManager* pMgr ) : @@ -173,6 +186,9 @@ void GraphicObject::ImplConstruct() mbAutoSwapped = sal_False; mbIsInSwapIn = sal_False; mbIsInSwapOut = sal_False; + +// Init with a unique, increasing ID +mnDataChangeTimeStamp = aIncrementingTimeOfLastDataChange++; } // - @@ -290,6 +306,9 @@ void GraphicObject::ImplAutoSwapIn() if( !mbAutoSwapped mpMgr ) mpMgr-ImplGraphicObjectWasSwappedIn( *this ); } + +// Handle evtl. needed AfterDataChanges +ImplAfterDataChange(); } } @@ -914,6 +933,9 @@ void GraphicObject::SetGraphic( const Graphic rGraphic, const GraphicObject* pC if( mpSwapOutTimer ) mpSwapOutTimer-Start(); + +// Handle evtl. needed AfterDataChanges +ImplAfterDataChange(); } // - @@ -1255,7
[Libreoffice-commits] core.git: sw/source
sw/source/core/txtnode/txtedt.cxx |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) New commits: commit b846847121a29b8acd9d48ef1a795ea3b9d6d974 Author: Jacobo Aragunde Pérez jaragu...@igalia.com Date: Thu Jun 19 11:27:04 2014 +0200 fdo#71558: Notify mispelled word to accessibility This patch modifies the spell checking code to trigger an invalidation of the accessible paragraph attributes when a mistake is detected, so the 'text-attributes-changed' event is released. Notice that 'text-spelling' is not an actual attribute of the text for LibreOffice, that's why this didn't work in first place. Finally, notice too that when the user disables the automatic spell checking, no 'text-attributes-changed' event is released, and when it is enabled again it will only release 'text-attributes-changed' events in case some of the newly typed text is misspelled. Change-Id: Ie792f040d84010cadcd41486d948a5e29421228f diff --git a/sw/source/core/txtnode/txtedt.cxx b/sw/source/core/txtnode/txtedt.cxx index ca536da..6c2adee 100644 --- a/sw/source/core/txtnode/txtedt.cxx +++ b/sw/source/core/txtnode/txtedt.cxx @@ -47,6 +47,7 @@ #include ndtxt.hxx #include txtfrm.hxx #include SwGrammarMarkUp.hxx +#include rootfrm.hxx #include txttypes.hxx #include breakit.hxx @@ -1293,7 +1294,7 @@ SwRect SwTxtFrm::_AutoSpell( const SwCntntNode* pActNode, const SwViewOption rV bool bFresh = nBegin nEnd; -if( nBegin nEnd ) +if( bFresh ) { //! register listener to LinguServiceEvents now in order to get //! notified about relevant changes in the future @@ -1375,6 +1376,11 @@ SwRect SwTxtFrm::_AutoSpell( const SwCntntNode* pActNode, const SwViewOption rV if( nChgStart nChgEnd ) { aRect = lcl_CalculateRepaintRect( *this, nChgStart, nChgEnd ); + +// fdo#71558 notify mispelled word to accessibility +SwViewShell* pViewSh = getRootFrm() ? getRootFrm()-GetCurrShell() : 0; +if( pViewSh ) +pViewSh-InvalidateAccessibleParaAttrs( *this ); } pNode-GetWrong()-SetInvalid( nInvStart, nInvEnd ); ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Bug 65675] LibreOffice 4.2 most annoying bugs
https://bugs.freedesktop.org/show_bug.cgi?id=65675 Jay Philips philip...@hotmail.com changed: What|Removed |Added Depends on||80201 --- Comment #162 from Jay Philips philip...@hotmail.com --- Regression - works in 4.1.6 Bug 80201: Saving the attached file to docx freezes LibO -- You are receiving this mail because: You are on the CC list for the bug. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-commits] core.git: 2 commits - sw/qa sw/source writerfilter/source
sw/qa/extras/rtfexport/data/fdo79599.rtf | 38 sw/qa/extras/rtfexport/rtfexport.cxx |9 +++ sw/qa/extras/rtfimport/data/fdo79599.rtf | 38 sw/qa/extras/rtfimport/rtfimport.cxx | 57 - sw/source/filter/ww8/rtfattributeoutput.cxx|2 writerfilter/source/dmapper/DomainMapper.cxx |2 writerfilter/source/rtftok/rtfdocumentimpl.cxx |4 - 7 files changed, 145 insertions(+), 5 deletions(-) New commits: commit aca657b380477f122e1b541e6b0050f34bfc23de Author: Miklos Vajna vmik...@collabora.co.uk Date: Thu Jun 19 21:39:37 2014 +0200 whitespace Change-Id: I2db68597c83285571da2ddd1257a61a4603a90ef diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index 2c747f2..3a7ebfb 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -772,7 +772,7 @@ int RTFDocumentImpl::resolvePict(bool bInline) if (xShape.is()) { uno::Referencelang::XServiceInfo xSI(xShape, uno::UNO_QUERY_THROW); -if(!xSI-supportsService(com.sun.star.drawing.GraphicObjectShape)) +if (!xSI-supportsService(com.sun.star.drawing.GraphicObjectShape)) xShape.clear(); } commit 7eafd8ccac56d7503b4287dfa3acac2cf0560b20 Author: nrb...@gmail.com nrb...@gmail.com Date: Tue Jun 10 12:26:26 2014 +0400 fdo#79599: use \highlightN instead of \chcbpatN in RTF import and export Reviewed on: https://gerrit.libreoffice.org/9776 Change-Id: I98ef606fb73368a3c275819cb83b936e2162769d diff --git a/sw/qa/extras/rtfexport/data/fdo79599.rtf b/sw/qa/extras/rtfexport/data/fdo79599.rtf new file mode 100755 index 000..f908709 --- /dev/null +++ b/sw/qa/extras/rtfexport/data/fdo79599.rtf @@ -0,0 +1,38 @@ +{\rtf1\deff0 +{\fonttbl +{\f000 Courier New;} +} +{\colortbl; +\red0\green0\blue0; +\red255\green255\blue0; +\red0\green255\blue0; +\red0\green255\blue255; +\red255\green0\blue255; +\red0\green0\blue255; +\red255\green0\blue0; +\red0\green0\blue128; +\red0\green128\blue128; +\red0\green128\blue0; +\red128\green0\blue128; +\red128\green0\blue0; +\red128\green128\blue0; +\red128\green128\blue128; +\red192\green192\blue192; +} +\highlight0 Should be ignored\par +\highlight2 #00 = Yellow\par +\highlight3 #00FF00 = Green\par +\highlight4 #00 = Cyan\par +\highlight5 #FF00FF = Magenta\par +\highlight6 #FF = Blue\par +\highlight7 #FF = Red\par +\highlight8 #80 = Dark blue\par +\highlight9 #008080 = Dark cyan\par +\highlight10 #008000 = Dark green\par +\highlight11 #800080 = Dark magenta\par +\highlight12 #80 = Dark red\par +\highlight13 #808000 = Dark yellow\par +\highlight14 #808080 = Dark gray\par +\highlight15 #C0C0C0 = Light gray\par +\highlight1 #00 = Black\par +} diff --git a/sw/qa/extras/rtfexport/rtfexport.cxx b/sw/qa/extras/rtfexport/rtfexport.cxx index 71113f1..c01dc38 100644 --- a/sw/qa/extras/rtfexport/rtfexport.cxx +++ b/sw/qa/extras/rtfexport/rtfexport.cxx @@ -634,6 +634,15 @@ DECLARE_RTFEXPORT_TEST(testFdo77600, fdo77600.rtf) CPPUNIT_ASSERT_EQUAL(OUString(Arial), getPropertyOUString(getRun(getParagraph(1), 3), CharFontName)); } +DECLARE_RTFEXPORT_TEST(testFdo79599, fdo79599.rtf) +{ +// test for \highlightNN, document has full \colortbl (produced in MS Word 2003 or 2007) + +// test \highlight11 = dark magenta +uno::Referencebeans::XPropertySet xRun(getRun(getParagraph(11),1), uno::UNO_QUERY); +CPPUNIT_ASSERT_EQUAL(sal_uInt32(0x800080), getPropertysal_uInt32(xRun, CharBackColor)); +} + #endif CPPUNIT_PLUGIN_IMPLEMENT(); diff --git a/sw/qa/extras/rtfimport/data/fdo79599.rtf b/sw/qa/extras/rtfimport/data/fdo79599.rtf new file mode 100755 index 000..f908709 --- /dev/null +++ b/sw/qa/extras/rtfimport/data/fdo79599.rtf @@ -0,0 +1,38 @@ +{\rtf1\deff0 +{\fonttbl +{\f000 Courier New;} +} +{\colortbl; +\red0\green0\blue0; +\red255\green255\blue0; +\red0\green255\blue0; +\red0\green255\blue255; +\red255\green0\blue255; +\red0\green0\blue255; +\red255\green0\blue0; +\red0\green0\blue128; +\red0\green128\blue128; +\red0\green128\blue0; +\red128\green0\blue128; +\red128\green0\blue0; +\red128\green128\blue0; +\red128\green128\blue128; +\red192\green192\blue192; +} +\highlight0 Should be ignored\par +\highlight2 #00 = Yellow\par +\highlight3 #00FF00 = Green\par +\highlight4 #00 = Cyan\par +\highlight5 #FF00FF = Magenta\par +\highlight6 #FF = Blue\par +\highlight7 #FF = Red\par +\highlight8 #80 = Dark blue\par +\highlight9 #008080 = Dark cyan\par +\highlight10 #008000 = Dark green\par +\highlight11 #800080 = Dark magenta\par +\highlight12 #80 = Dark red\par +\highlight13 #808000 = Dark yellow\par +\highlight14 #808080 = Dark gray\par +\highlight15 #C0C0C0 = Light gray\par +\highlight1 #00 = Black\par +} diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx
Useful string function in inputwin.cxx
Hi all, I've just finished translating Calc's inputwin.cxx and noticed the following (local static) function: static sal_Int32 findFirstNonMatchingChar(const OUString rStr1, const OUString rStr2) { // Search the string for unmatching chars const sal_Unicode* pStr1 = rStr1.getStr(); const sal_Unicode* pStr2 = rStr2.getStr(); sal_Int32 i = 0; while ( i rStr1.getLength() ) { // Abort on the first unmatching char if ( *pStr1 != *pStr2 ) return i; ++pStr1, ++pStr2, ++i; } return i; } Would that be something one could move to another place (like ustring.cxx) where other code could use it too? Regards Philipp ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
QA Meeting Minutes - 2014-06-18
Hi everyone, Thanks for the great QA call! Meeting minutes are available here: https://wiki.documentfoundation.org/QA/Meetings/2014/June_18 Our next meeting will be in two weeks on July 2nd. As you all know, July 4th is famous in the US as the day that we have the most BBQs and set the most houses roofs ablaze with fireworks, so please feel free to show up to the next QA meeting with your favorite grilling recipes and the name of your favorite fire extinguisher manufacturer: https://wiki.documentfoundation.org/QA/Meetings/2014/July_02 (For the record, my favorite extinguisher brand is UNIX: http://www.cs.grinnell.edu/UNIX%20Fire%20Extinguisher ) Cheers, --R -- Robinson Tryon LibreOffice Community Outreach Herald Senior QA Bug Wrangler The Document Foundation qu...@libreoffice.org ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-commits] core.git: external/icu
external/icu/icu-ubsan.patch.0 | 22 ++ 1 file changed, 22 insertions(+) New commits: commit d77c108922f7ea2c57bc63bbe289bba92f6213a6 Author: Stephan Bergmann sberg...@redhat.com Date: Thu Jun 19 23:05:42 2014 +0200 external/icu: Change flexible array members to be of length 1Â instead of 2 ...so that -fsanitize=undefined does not report false out-of-bounds accesses; Clang's isFlexibleArrayMemberExpr (lib/CodeGen/CGExpr.cpp) only treats arrays of length 0 and 1 as such special flexible cases. There appears to be no code in icu that depends on those arrays to be of length 2 (e.g., via sizeof), though it does look suspicious that they are deliberately of length 2 instead of 1. Change-Id: I85293e769f1d64cb4e60e13f1cd7f88b76e37487 diff --git a/external/icu/icu-ubsan.patch.0 b/external/icu/icu-ubsan.patch.0 index ef3121f..01fc290 100644 --- a/external/icu/icu-ubsan.patch.0 +++ b/external/icu/icu-ubsan.patch.0 @@ -1,3 +1,25 @@ +--- source/common/rbbidata.h source/common/rbbidata.h +@@ -113,7 +113,7 @@ + /* StatusTable of the set of matching */ + /* tags (rule status values) */ + int16_t fReserved; +-uint16_t fNextState[2]; /* Next State, indexed by char category. */ ++uint16_t fNextState[1]; /* Next State, indexed by char category. */ + /* This array does not have two elements */ + /*Array Size is actually fData-fHeader-fCatCount */ + /*CAUTION: see RBBITableBuilder::getTableSize() */ +--- source/common/ucmndata.h source/common/ucmndata.h +@@ -50,7 +50,7 @@ + + typedef struct { + uint32_t count; +-UDataOffsetTOCEntry entry[2];/* Actual size of array is from count. */ ++UDataOffsetTOCEntry entry[1];/* Actual size of array is from count. */ + } UDataOffsetTOC; + + /** --- source/common/ustring.cpp +++ source/common/ustring.cpp @@ -1486,7 +1486,7 @@ ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Branch 'aoo/trunk' - svtools/source
svtools/source/graphic/grfmgr2.cxx | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) New commits: commit a48414a396f7de4e00510e82e3744c097ce3d5d6 Author: Armin Le Grand a...@apache.org Date: Thu Jun 19 20:12:25 2014 + corrected place for stl sort function for linux diff --git a/svtools/source/graphic/grfmgr2.cxx b/svtools/source/graphic/grfmgr2.cxx index c8532bb..5cac068 100644 --- a/svtools/source/graphic/grfmgr2.cxx +++ b/svtools/source/graphic/grfmgr2.cxx @@ -295,6 +295,17 @@ ByteString GraphicManager::ImplGetUniqueID( const GraphicObject rObj ) const // - +namespace +{ +struct simpleSortByDataChangeTimeStamp +{ +bool operator() (GraphicObject* p1, GraphicObject* p2) const +{ +return p1-GetDataChangeTimeStamp() p2-GetDataChangeTimeStamp(); +} +}; +} // end of anonymous namespace + void GraphicManager::ImplCheckSizeOfSwappedInGraphics() { // only necessary for 32bit systems @@ -334,14 +345,6 @@ void GraphicManager::ImplCheckSizeOfSwappedInGraphics() if(nUsedSize = nMaxCacheSize !aCandidates.empty()) { // if we use more currently, sort by last DataChangeTimeStamp -struct simpleSortByDataChangeTimeStamp -{ -bool operator() (GraphicObject* p1, GraphicObject* p2) const -{ -return p1-GetDataChangeTimeStamp() p2-GetDataChangeTimeStamp(); -} -}; - // sort by DataChangeTimeStamp so that the oldest get removed first ::std::sort(aCandidates.begin(), aCandidates.end(), simpleSortByDataChangeTimeStamp()); ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[ANN] LIbreOffice 4.3.0 RC1 available
Dear Community, The Document Foundation is pleased to announce the first release candidate of LibreOffice 4.3.0. The upcoming 4.3.0 will be the eighth major release of LibreOffice, coming with a bunch of new features beside the usual bugfixes. RC1 is in release configuration and can be be installed alongside the stable version on linux and Mac OS X, but will update an earlier version on Windows. Feel free to give it a try and participate in the Bughunt https://wiki.documentfoundation.org/BugHunting_Session_4.3.0_RC1 RC1 is not ready for production yet (there are two additional RCs planned), and while it marks English string freeze, translations are not all up-to-date yet. A work-in-progress list of new features in LibreOffice 4.3 can be found at https://wiki.documentfoundation.org/ReleaseNotes/4.3 The release is available for Windows, Linux and Mac OS X from our QA builds download page at http://www.libreoffice.org/download/pre-releases/ Developers and QA might also be interested in the symbol server for windows debug information (see the release notes linked below for details) Should you find bugs, please report them to the FreeDesktop Bugzilla: https://bugs.freedesktop.org A good way to assess the release candidate quality is to run some specific manual tests on it, our TCM wiki page has more details: http://wiki.documentfoundation.org/QA/Testing/Regression_Tests#Full_Regression_Test For other ways to get involved with this exciting project - you can e.g. contribute code: http://www.libreoffice.org/community/developers/ translate LibreOffice to your language: http://wiki.documentfoundation.org/LibreOffice_Localization_Guide or help with funding our operations: http://donate.libreoffice.org/ A list of known issues and fixed bugs with 4.3.0 RC1 is available from our wiki: http://wiki.documentfoundation.org/Releases/4.3.0/RC1 Let us close again with a BIG Thank You! to all of you having contributed to the LibreOffice project - this release would not have been possible without your help. On behalf of the Community, Christian ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-commits] core.git: sw/source
sw/source/uibase/uno/unotxdoc.cxx |9 - sw/source/uibase/utlui/content.cxx |4 ++-- sw/source/uibase/utlui/glbltree.cxx | 31 ++- sw/source/uibase/utlui/navipi.cxx |9 + sw/source/uibase/utlui/numfmtlb.cxx |7 +++ 5 files changed, 28 insertions(+), 32 deletions(-) New commits: commit 67f64c266cd5a0368eff0be727228bc6a9c67cb2 Author: Takeshi Abe t...@fixedpoint.jp Date: Fri Jun 20 06:54:55 2014 +0900 Avoid possible memory leaks in case of exceptions Change-Id: Ic9b9c22c0ad15bfefce729e7277f950cb66d9bf6 diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index cc8e066..a10d2c6 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -134,6 +134,7 @@ #include svx/svdview.hxx #include comphelper/processfactory.hxx #include comphelper/servicehelper.hxx +#include boost/scoped_ptr.hpp using namespace ::com::sun::star; using namespace ::com::sun::star::text; @@ -922,12 +923,11 @@ Reference XIndexAccess Reference XInterface xTmp; sal_Int32 nResult = 0; Reference XTextCursor xCrsr; -SwUnoCrsr* pResultCrsr = FindAny(xDesc, xCrsr, true, nResult, xTmp); +boost::scoped_ptrSwUnoCrsr pResultCrsr(FindAny(xDesc, xCrsr, true, nResult, xTmp)); if(!pResultCrsr) throw RuntimeException(); Reference XIndexAccess xRet; -xRet = new SwXTextRanges( (nResult) ? pResultCrsr : 0 ); -delete pResultCrsr; +xRet = new SwXTextRanges( (nResult) ? pResultCrsr.get() : 0 ); return xRet; } @@ -1985,10 +1985,9 @@ void SwXTextDocument::setPropertyValue(const OUString rPropertyName, const Any default: { const SfxPoolItem rItem = pDocShell-GetDoc()-GetDefault(pEntry-nWID); -SfxPoolItem* pNewItem = rItem.Clone(); +boost::scoped_ptrSfxPoolItem pNewItem(rItem.Clone()); pNewItem-PutValue(aValue, pEntry-nMemberId); pDocShell-GetDoc()-SetDefault(*pNewItem); -delete pNewItem; } } } diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx index e6a827e..57634f0 100644 --- a/sw/source/uibase/utlui/content.cxx +++ b/sw/source/uibase/utlui/content.cxx @@ -88,6 +88,7 @@ #include unomid.h #include navmgr.hxx +#include boost/scoped_ptr.hpp #define CTYPE_CNT 0 #define CTYPE_CTT 1 @@ -3256,7 +3257,7 @@ void SwContentTree::EditEntry(SvTreeListEntry* pEntry, sal_uInt8 nMode) SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create(); OSL_ENSURE(pFact, SwAbstractDialogFactory fail!); -AbstractSwRenameXNamedDlg* pDlg = pFact-CreateSwRenameXNamedDlg(this, xNamed, xNameAccess); +boost::scoped_ptrAbstractSwRenameXNamedDlg pDlg(pFact-CreateSwRenameXNamedDlg(this, xNamed, xNameAccess)); OSL_ENSURE(pDlg, Dialogdiet fail!); if(xSecond.is()) pDlg-SetAlternativeAccess( xSecond, xThird); @@ -3272,7 +3273,6 @@ void SwContentTree::EditEntry(SvTreeListEntry* pEntry, sal_uInt8 nMode) } pDlg-SetForbiddenChars(sForbiddenChars); pDlg-Execute(); -delete pDlg; } } diff --git a/sw/source/uibase/utlui/glbltree.cxx b/sw/source/uibase/utlui/glbltree.cxx index 9da3e4c..12bcf3c 100644 --- a/sw/source/uibase/utlui/glbltree.cxx +++ b/sw/source/uibase/utlui/glbltree.cxx @@ -57,6 +57,7 @@ #include comcore.hrc #include globals.hrc #include swabstdlg.hxx +#include boost/scoped_ptr.hpp using namespace ::com::sun::star::uno; @@ -215,7 +216,7 @@ sal_Int8 SwGlobalTree::ExecuteDrop( const ExecuteDropEvent rEvt ) if( aData.HasFormat( FORMAT_FILE_LIST )) { nRet = rEvt.mnAction; -SwGlblDocContents* pTempContents = new SwGlblDocContents; +boost::scoped_ptrSwGlblDocContents pTempContents(new SwGlblDocContents); int nAbsContPos = pDropEntry ? (int) GetModel()-GetAbsPos(pDropEntry): - 1; @@ -243,7 +244,6 @@ sal_Int8 SwGlobalTree::ExecuteDrop( const ExecuteDropEvent rEvt ) } } } -delete pTempContents; } else if( !(sFileName = SwNavigationPI::CreateDropFileName( aData )).isEmpty()) @@ -385,7 +385,7 @@ void SwGlobalTree::TbxMenuHdl(sal_uInt16 nTbxId, ToolBox* pBox) sal_uInt16 nEnableFlags = GetEnableFlags(); if(FN_GLOBAL_OPEN == nTbxId) { -PopupMenu *pMenu = new PopupMenu; +boost::scoped_ptrPopupMenu pMenu(new PopupMenu); for (sal_uInt16 i = CTX_INSERT_ANY_INDEX; i = CTX_INSERT_TEXT; i++) { pMenu-InsertItem( i, aContextStrings[ST_INDEX - ST_GLOBAL_CONTEXT_FIRST - CTX_INSERT_ANY_INDEX + i] ); @@ -397,13 +397,13 @@ void SwGlobalTree::TbxMenuHdl(sal_uInt16 nTbxId, ToolBox* pBox)
Unconfirmed Bugs that Need Developer Input
Hi All, Our NeedAdvice list is growing a bit. These are bugs that QA just hasn't been able to confirm for one reason or another. Some have comments that have pointers to what some QA members think might be going on, others can't be confirmed but there are debug logs from the original reporter. Some of them seem a bit nasty: https://bugs.freedesktop.org/buglist.cgi?list_id=435864status_whiteboard_type=allwordssubstrquery_format=advancedstatus_whiteboard=NeedAdvicebug_status=UNCONFIRMED Help appreciated as always. Best, Joel ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice-qa] [ANN] LibreOffice 4.3.0 rc1 test builds available
Hi all, Le 18/06/2014 19:28, Christian Lohmaier a écrit : Hi *, for the upcoming new version 4.3.0 the builds for RC1 are now available on pre-releases. Just for information, Moztrap has the 4.3.0RC1 run activated now. http://manual-test.libreoffice.org/runtests/ Cheers Sophie ___ List Name: Libreoffice-qa mailing list Mail address: Libreoffice-qa@lists.freedesktop.org Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
Re: [Libreoffice-qa] [ANN] LibreOffice 4.3.0 rc1 test builds available
Bug reported here https://bugs.freedesktop.org/show_bug.cgi?id=80232 -- View this message in context: http://nabble.documentfoundation.org/Libreoffice-qa-ANN-LibreOffice-4-3-0-rc1-test-builds-available-tp4112813p4112898.html Sent from the QA mailing list archive at Nabble.com. ___ List Name: Libreoffice-qa mailing list Mail address: Libreoffice-qa@lists.freedesktop.org Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
Re: [Libreoffice-qa] LibreOffice Bugzilla: Steps towards FDO migration
Hi All, Top posting because we still need a time to meet to do the below things. @Norbert - not sure how much of your time will be needed but I think we'll at least need you around for the beginning part before we are able to move forward with stress testing and what not. It's looking like our mutual availability is becoming a bit rough but my schedule: June 27-29 unavailable July 3 - July 10 unavailable Else: Monday and Wednesdays are good as well as weekends. Let's try to get some time to meet up and make the final push(es) to our own bugzilla. Thanks again! Best, Joel Hi all, I'd like to thank Norbert for all of his hard work on the Bugzilla migration process. Many of us have been rather busy over the last few weeks, so it would be great if we could touch base again and determine what todo items are left before migration can start. I'd be happy to help coordinate a time for a call or an IRC chat in the next week, if people think that would be useful. If people prefer conversing over email, we can just continue the coordination in this thread. Off the top of my head, here are a few of our todo items: - Joel will help to coordinate some stress-testing of our Bugzilla test install - Norbert will be adding a clean copy of Bugzilla to gerrit so that we can start to tweak various cosmetic pieces, CSS, information on the password-reset page, etc. - Tollef needs to implement the redirecting code to forward our old bug urls to the new ones (already done?) - We need to notify all of our bugtracker users ahead of the planned migration (this can actually be a great opportunity to communicate/reconnect with them) This is just the start of the list -- feel free to reply and include items necessary for the migration[1] Best, --R [1] i.e. please don't add new feature requests ___ List Name: Libreoffice-qa mailing list Mail address: Libreoffice-qa@lists.freedesktop.org Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
[Libreoffice-qa] minutes of ESC call ...
* Present: + Bjoern, Miklos, Michael M, Jacobo, Stephan, Cedric, Christian, Lionel, Robinson, David, Kendy, Caolan, Andras * Completed Action Items: + file calc dialog bugs in 4.3 for Caolan / students (Astron) + merge access2base 1-liner to 4.2 / 4.3 / master (Lionel) + send GDrive configure / keys to Norbert (Cloph) * Pending Action Items: + research / seek a saner access2base solution for master (Stephan) + ask UX advise wrt. wrench icons (revert or not ?) (Astron) + scripting to generate / list last week's UI changes (Cloph) * GSOC Update (Cedric) + Questions for evaluations (next week) sent out. + can prepare answers already. + net monday to friday answer. + can we file them early ? (Bjoern) + no - but Cedric/Fridrich can file for you if necessary. + mid-term evaluations: 23rd-27th June. * Release Engineering update (Christian) + 4.2.5 status + will be released tomorrow, today a German public holiday. + 4.3.0 UI and string freeze: + 1 review needed after the tag for rc1 + 4.3.0 RC1 + up-loaded to pre-releases, and synching to mirrors. + should be in time for the bug-hunt + tinderbox / windows build on 4.3 branch and master hangs (any joy ?) + apparently related to using flock to stop 2x tinderbox scripts running. + a build / setup issue. + had a hang myself in the 'services' and another test (Michael) + hanging in 'backtrace', threading issues. + unclear what to do ... perhaps 32bit Linux related. + Android / iOS remote + Late features ? + libreofficekit bits / rename etc. + changed the ABI to clean it up. + OpenGL pieces / status + impress work as well ? + pending GL capabilities check to avoid crashes + mostly affects Linux ... + pending various fixes for GLTF rendering. [ starting to be at risk ! ] + experimentalising 3D chart bits. + at risk [ Tamas to look at that ] + Calc performance fixes (?) + Writer performance fix + did see crashes with that on the stack (Stephan) + not sure if that's related AI:+ review crazy hash speedup patch (Kendy) + libfreetype for Windows? (Kendy) + libgltf: will have a non-freetype FPS rendering update. * Plugin / NPAPI decision + Some concerns: + https://bugs.freedesktop.org/show_bug.cgi?id=45071 + Chrome has already dropped NPAPI + http://blog.chromium.org/2013/09/saying-goodbye-to-our-old-friend-npapi.html + LibreOffice / NPAPI currently used by sub 5% of users + be good to get harder usage stats if possible (?) + All live browsers block them; click-to-activate etc. + no really good solutions: + no replacement API at all. http://www.firebreath.org/display/documentation/Browser+Plugins+in+a+post-NPAPI+world We have confirmed that PPAPI will not work because while Chrome supports it they don't provide any way for third parties to install PPAPI plugins. The only method of doing so involves a command-line argument, which is unsuitable for most purposes. AI: + blog about the sad reality of web plugins (Bjoern) + NPAPI will be removed in 4.4 ... (still there in 4.3). + NB. we use NPAPI for 2x things (Stephan) 1. to plug ourselves into the browser (dying on the browser side) 2. to plug the Flash player into Impress etc. + should we drop both ? + potentially problematic with existing flash embedding documents (Miklos) + Don't remove 2. - continue to support NPAPI where it works. + Could we export tiled rendering to the browser (Lool as a solution?) (Kendy) + Mozwrapper can be used to support rendering to an existing X window for a non-NPAPI supporting APP (Miklos) + so functionality is still there. * Crashtest update (Markus) + new result based on build from Sunday, June 15th http://dev-builds.libreoffice.org/crashtest/76f0a1307f779faf4f590fefafc445c077a39f26 + summary is available as http://dev-builds.libreoffice.org/crashtest/76f0a1307f779faf4f590fefafc445c077a39f26/exportCrashes.csv http://dev-builds.libreoffice.org/crashtest/76f0a1307f779faf4f590fefafc445c077a39f26/importCrash.csv http://dev-builds.libreoffice.org/crashtest/76f0a1307f779faf4f590fefafc445c077a39f26/validationErrors.csv + memcheck results + thanks to the City Of Largo + http://dev-builds.libreoffice.org/crashtest/memcheck.zip + grep for 'Invalid' or
Re: [Libreoffice-qa] LibreOffice Bugzilla: Steps towards FDO migration
On Thu, Jun 19, 2014 at 10:17 AM, Joel Madero jmadero@gmail.com wrote: Hi All, Top posting because we still need a time to meet to do the below things. @Norbert - not sure how much of your time will be needed but I think we'll at least need you around for the beginning part before we are able to move forward with stress testing and what not. It's looking like our mutual availability is becoming a bit rough but my schedule: June 27-29 unavailable July 3 - July 10 unavailable Tomorrow (20th) or 23rd are pretty open for me. June 22, 27 I'm flying, and 24-27 I'm at a conference. June 30th through Friday the 4th is also good for me. 5th I'll be busy. Then relatively free until July 15, when I head to CLS and OSCON, and then (mostly) busy through July 28th. Else: Monday and Wednesdays are good as well as weekends. Yeah -- my schedule isn't very regular, so particular days aren't necessarily available. Mon/Tue is more doable than Fri-Sun, usually. Let's try to get some time to meet up and make the final push(es) to our own bugzilla. +1 Thanks again! Best, Joel Hi all, I'd like to thank Norbert for all of his hard work on the Bugzilla migration process. Many of us have been rather busy over the last few weeks, so it would be great if we could touch base again and determine what todo items are left before migration can start. I'd be happy to help coordinate a time for a call or an IRC chat in the next week, if people think that would be useful. If people prefer conversing over email, we can just continue the coordination in this thread. Off the top of my head, here are a few of our todo items: - Joel will help to coordinate some stress-testing of our Bugzilla test install - Norbert will be adding a clean copy of Bugzilla to gerrit so that we can start to tweak various cosmetic pieces, CSS, information on the password-reset page, etc. - Tollef needs to implement the redirecting code to forward our old bug urls to the new ones (already done?) - We need to notify all of our bugtracker users ahead of the planned migration (this can actually be a great opportunity to communicate/reconnect with them) This is just the start of the list -- feel free to reply and include items necessary for the migration[1] Best, --R [1] i.e. please don't add new feature requests -- Robinson Tryon LibreOffice Community Outreach Herald Senior QA Bug Wrangler The Document Foundation qu...@libreoffice.org ___ List Name: Libreoffice-qa mailing list Mail address: Libreoffice-qa@lists.freedesktop.org Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
[Libreoffice-qa] QA Meeting Minutes - 2014-06-18
Hi everyone, Thanks for the great QA call! Meeting minutes are available here: https://wiki.documentfoundation.org/QA/Meetings/2014/June_18 Our next meeting will be in two weeks on July 2nd. As you all know, July 4th is famous in the US as the day that we have the most BBQs and set the most houses roofs ablaze with fireworks, so please feel free to show up to the next QA meeting with your favorite grilling recipes and the name of your favorite fire extinguisher manufacturer: https://wiki.documentfoundation.org/QA/Meetings/2014/July_02 (For the record, my favorite extinguisher brand is UNIX: http://www.cs.grinnell.edu/UNIX%20Fire%20Extinguisher ) Cheers, --R -- Robinson Tryon LibreOffice Community Outreach Herald Senior QA Bug Wrangler The Document Foundation qu...@libreoffice.org ___ List Name: Libreoffice-qa mailing list Mail address: Libreoffice-qa@lists.freedesktop.org Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
[Libreoffice-qa] [ANN] LIbreOffice 4.3.0 RC1 available
Dear Community, The Document Foundation is pleased to announce the first release candidate of LibreOffice 4.3.0. The upcoming 4.3.0 will be the eighth major release of LibreOffice, coming with a bunch of new features beside the usual bugfixes. RC1 is in release configuration and can be be installed alongside the stable version on linux and Mac OS X, but will update an earlier version on Windows. Feel free to give it a try and participate in the Bughunt https://wiki.documentfoundation.org/BugHunting_Session_4.3.0_RC1 RC1 is not ready for production yet (there are two additional RCs planned), and while it marks English string freeze, translations are not all up-to-date yet. A work-in-progress list of new features in LibreOffice 4.3 can be found at https://wiki.documentfoundation.org/ReleaseNotes/4.3 The release is available for Windows, Linux and Mac OS X from our QA builds download page at http://www.libreoffice.org/download/pre-releases/ Developers and QA might also be interested in the symbol server for windows debug information (see the release notes linked below for details) Should you find bugs, please report them to the FreeDesktop Bugzilla: https://bugs.freedesktop.org A good way to assess the release candidate quality is to run some specific manual tests on it, our TCM wiki page has more details: http://wiki.documentfoundation.org/QA/Testing/Regression_Tests#Full_Regression_Test For other ways to get involved with this exciting project - you can e.g. contribute code: http://www.libreoffice.org/community/developers/ translate LibreOffice to your language: http://wiki.documentfoundation.org/LibreOffice_Localization_Guide or help with funding our operations: http://donate.libreoffice.org/ A list of known issues and fixed bugs with 4.3.0 RC1 is available from our wiki: http://wiki.documentfoundation.org/Releases/4.3.0/RC1 Let us close again with a BIG Thank You! to all of you having contributed to the LibreOffice project - this release would not have been possible without your help. On behalf of the Community, Christian ___ List Name: Libreoffice-qa mailing list Mail address: Libreoffice-qa@lists.freedesktop.org Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
[Libreoffice-qa] Pushing 4.2.4 into Ubuntu Update Repo
Hi Bjoern, I would like to suggest the addition of 4.2.4.2 into the ubuntu's trusty-updates repo as the 'Read Error' DOCX bug (fdo#77478) is still present in 4.2.3.3, which ships with Ubuntu 14.04. I assume many ubuntu and ubuntu-derivative users are going to be repeatedly submitting this same bug as time goes by, as its a major dataloss interoperability issue, as i've just encountered two such duplicates today. -- Regards, Jay Philips ___ List Name: Libreoffice-qa mailing list Mail address: Libreoffice-qa@lists.freedesktop.org Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
Re: [Libreoffice-qa] Pushing 4.2.4 into Ubuntu Update Repo
On Fri, Jun 20, 2014 at 03:03:04AM +0400, Jay Philips wrote: I would like to suggest the addition of 4.2.4.2 into the ubuntu's trusty-updates repo as the 'Read Error' DOCX bug (fdo#77478) is still present in 4.2.3.3, which ships with Ubuntu 14.04. I assume many ubuntu and ubuntu-derivative users are going to be repeatedly submitting this same bug as time goes by, as its a major dataloss interoperability issue, as i've just encountered two such duplicates today. Please see: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1219245/comments/14 https://bugs.launchpad.net/ubuntu/+source/indicator-appmenu/+bug/1296715/comments/17 You help in testing is appreciated. Best, Bjoern ___ List Name: Libreoffice-qa mailing list Mail address: Libreoffice-qa@lists.freedesktop.org Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
[Libreoffice-qa] Bug 79761 needs profiling
Hi, I need some Linux user to confirm and then profile this nasty performance regression of the autocorrect engine in 4.4 master Bug 79761 - autocorrect slow-down got worse https://bugs.freedesktop.org/show_bug.cgi?id=79761 I tried debugging and profiling with Windows tools but Micheal Meeks is unconfortable interpreting my results and asked to profile the bug with callgrind which is available only on Linux. is there any volunteer? ___ List Name: Libreoffice-qa mailing list Mail address: Libreoffice-qa@lists.freedesktop.org Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
[Libreoffice-bugs] [Bug 80213] New: FILESAVE: Files will not save crash
https://bugs.freedesktop.org/show_bug.cgi?id=80213 Priority: medium Bug ID: 80213 Assignee: libreoffice-bugs@lists.freedesktop.org Summary: FILESAVE: Files will not save crash Severity: normal Classification: Unclassified OS: Windows (All) Reporter: ozyk...@hotmail.com Hardware: Other Whiteboard: BSA Status: UNCONFIRMED Version: 4.2.4.2 release Component: Spreadsheet Product: LibreOffice Problem description: After working for several hours (about 10 hours) the system will NOT save the files. It also hangs if the auto save is on and I loose everything even the so called backup does not work. Steps to reproduce: 1. lots of graphs and data using lookup,vlookup,indirect sin,cos,tan and A fucntions there of. Single book with about 5 sheets. Goal seek and solver are used alot Current behavior: WIll not allow save to same file name says allocation error will not allow to save to another file name. Other programs can save and work fine when this bug occurs such as notepad. The response time slows down until it is worse than a PC running DOS . It;s REALLY VERY BAD PERFORMANCE. I have to quit aver hour and save or I loose everything. Expected behavior: response should be constant, and the save files should work eery time. Also after file save the Graphs loose their Arrays. i.e. a range $a$1:$A$300 will appear in after save as $A$1:$a$1 Graphs may be the problem as this slow the system down heaps. Operating System: Windows 7 Version: 4.2.4.2 release -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80195] EDITING: IFERROR() fails to evaluate to alternative value (2nd parameter)
https://bugs.freedesktop.org/show_bug.cgi?id=80195 Winfried Donkers winfrieddonk...@libreoffice.org changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|libreoffice-b...@lists.free |winfrieddonkers@libreoffice |desktop.org |.org --- Comment #4 from Winfried Donkers winfrieddonk...@libreoffice.org --- (In reply to comment #1) It seems that the bug is always present whenever the formula inside iferror has any problems, that is, the bug is not related to IF(). The simpler formula: =IFERROR(0/0,alternative value) also demonstrates the bug. With version 4.2.5 the formula =IFERROR(0/0,alternative value) works OK. The formula =IFERROR(IF(foo+1=1,0,1),alternative value) does not work OK in 4.2.5 nor in master. I will look into it. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 79574] apply format brush appears weird
https://bugs.freedesktop.org/show_bug.cgi?id=79574 --- Comment #4 from eudlauk eud.l...@laposte.net --- Le 17/06/2014 04:13, bugzilla-dae...@freedesktop.org a écrit : https://bugs.freedesktop.org/show_bug.cgi?id=79574 Jay Philips philip...@hotmail.com changed: What|Removed |Added Status|NEEDINFO|RESOLVED Resolution|--- |WORKSFORME --- Comment #3 from Jay Philips philip...@hotmail.com --- Hi Eudlauk, Yes i've had quite a few problems with Mate on Linux Mint and had sent in bug reports to various applications, when the real problem is with the desktop environment not doing things it is supposed to. Hi Jay, I admit xfce desktop is a bit coarse and less user-friendly than mate or cinnamon, but it behaves safely (since now :^/). Unfortunately, I discovered, after the whole re-installation, that there is a way to restore the graphic interface with a console command. Well, it's embarrassing, I have got to search the solution again, 'cos I don't have noticed it. Anyway, do I have to close myself the issue or somebody already did it for me (shame : I am not used to frequenting forums) ? Good day Jay. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 42705] Graphics Anchored to Cell Do Not Move With Data When Sorted, 'Protect Position' Set or Not, 'Link' or Not
https://bugs.freedesktop.org/show_bug.cgi?id=42705 Felix55 felice_1...@yahoo.it changed: What|Removed |Added Hardware|x86 (IA32) |x86-64 (AMD64) Version|3.4.3 release |3.6.6.2 release --- Comment #7 from Felix55 felice_1...@yahoo.it --- The release 3.6.6.2 is the latest in which the position of the images is working properly, all subsequent showed that by varying the height of the cells (for example, increase or decrease the text contained in them), the image moves from original position and the greater is the displacement as is the number of pages that make up the spreadsheet. In practice, I had to go back to the 3.6.6.2 release and fix (by hand) to the new location of all the images. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80198] Insert SVG file breaks the program
https://bugs.freedesktop.org/show_bug.cgi?id=80198 --- Comment #3 from ape idler@mail.ru --- (In reply to comment #1) To verify this issue, I tried to reproduce it under Linux, using the referred attachment in a Writer document inserted via Insert Image From File. I couldn’t make the program to crash, but it certainly went unresponsive for several seconds. 1. Read this message (bug 79834 comment 3), please. 2. Try saving the file. The program crashed on my PC (Lubuntu-13.10_x32) when I tried to save this file. However, the file was created. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80204] FILEOPEN (?) embedded images change when opening LibreOffice Draw files
https://bugs.freedesktop.org/show_bug.cgi?id=80204 Cor Nouws c...@nouenoff.nl changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID CC||c...@nouenoff.nl --- Comment #4 from Cor Nouws c...@nouenoff.nl --- MarjaE: Sorry to read the problem, but if there is no clear info or test document, QA or devs cannot help. SO I have to close as an invalvid report. Regards, Cor -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80206] FILESAVE: Saving documents in Word format doesn't format properly even in LibreOffice
https://bugs.freedesktop.org/show_bug.cgi?id=80206 Cor Nouws c...@nouenoff.nl changed: What|Removed |Added Status|UNCONFIRMED |NEEDINFO CC||c...@nouenoff.nl Ever confirmed|0 |1 --- Comment #3 from Cor Nouws c...@nouenoff.nl --- Pls try to give a clear description for the summary :) -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80216] New: I can't insert chart to lotus notes , copy from libre office calc
https://bugs.freedesktop.org/show_bug.cgi?id=80216 Priority: medium Bug ID: 80216 Assignee: libreoffice-bugs@lists.freedesktop.org Summary: I can't insert chart to lotus notes , copy from libre office calc Severity: major Classification: Unclassified OS: Windows (All) Reporter: mpdpathinay...@gmail.com Hardware: x86 (IA32) Status: UNCONFIRMED Version: 4.1.1.2 release Component: Chart Product: LibreOffice Created attachment 101335 -- https://bugs.freedesktop.org/attachment.cgi?id=101335action=edit I attach my error in calc I can't insert chart to lotus notes , copy from libre office calc , but I copy this chart from ms office work properly . I need solution immediately . -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80216] I can't insert chart to lotus notes , copy from libre office calc
https://bugs.freedesktop.org/show_bug.cgi?id=80216 Malith mpdpathinay...@gmail.com changed: What|Removed |Added Priority|medium |high CC||mpdpathinay...@gmail.com Component|Chart |Spreadsheet -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80216] I can't insert chart to lotus notes , copy from libre office calc
https://bugs.freedesktop.org/show_bug.cgi?id=80216 Malith mpdpathinay...@gmail.com changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0 |1 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80217] New: Some colors are not displayed with its localized names
https://bugs.freedesktop.org/show_bug.cgi?id=80217 Priority: medium Bug ID: 80217 Assignee: libreoffice-bugs@lists.freedesktop.org Summary: Some colors are not displayed with its localized names Severity: normal Classification: Unclassified OS: Mac OS X (All) Reporter: mi...@filmsi.net Hardware: Other Status: UNCONFIRMED Version: 4.3.0.1 rc Component: UI Product: LibreOffice The Light * colors in the pallete do not have their localized names displayed (i.e. instead od Svetlosiva as Light gray is localized in Slovenian po files, Light gray is displayed). See the attached screenshot. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80217] Some colors are not displayed with its localized names
https://bugs.freedesktop.org/show_bug.cgi?id=80217 --- Comment #1 from mi...@filmsi.net --- Same goes for colors Brown and Magenta, as can be seen from same screenshot. Pleas confirm on other OS. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80180] cut and paste did not update formula
https://bugs.freedesktop.org/show_bug.cgi?id=80180 --- Comment #4 from m.a.riosv mari...@miguelangel.mobi --- I had never heard about problems with it, but if you have this issue again, please report it. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80217] Some colors are not displayed with its localized names
https://bugs.freedesktop.org/show_bug.cgi?id=80217 --- Comment #2 from mi...@filmsi.net --- Created attachment 101337 -- https://bugs.freedesktop.org/attachment.cgi?id=101337action=edit English names displayed with some colors -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 72919] Other: UNO-API PDF Mass Export breaks layout
https://bugs.freedesktop.org/show_bug.cgi?id=72919 --- Comment #7 from Wahrendorff h...@9tw.de --- The problem is still present and important to us. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80219] New: [FILESAVE] SVG loss some color after saving
https://bugs.freedesktop.org/show_bug.cgi?id=80219 Priority: medium Bug ID: 80219 Assignee: libreoffice-bugs@lists.freedesktop.org Summary: [FILESAVE] SVG loss some color after saving Severity: normal Classification: Unclassified OS: Linux (All) Reporter: vulc...@gmx.com Hardware: x86-64 (AMD64) Status: UNCONFIRMED Version: 4.1.5.1 rc Component: Writer Product: LibreOffice Created attachment 101340 -- https://bugs.freedesktop.org/attachment.cgi?id=101340action=edit File for test A french QA user give us his feedback: LibreOffice don't kee the SVG's color: http://nabble.documentfoundation.org/perte-de-couleur-sur-svg-avec-Loo-4-2-td4112370.html In LibreOffice 4.2.5.1 Build ID: 881bb88abfe2992c6cede97c23e64a9885de87de on Ubuntu 12.04.4 x86_64 1) Open the attachement file defaut_couleur.odt 2) The two picture in the document are different 3) Rename the document defaut_couleur.odt as SVG_save.odt 4) Open SVG_save.odt 5) The two picture in the document are the same Expected: after saving the two picture must be diffferents. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 74179] PRINTING - EXPORTING PDF :image non correctly printed with excel table linked in ppt presentation
https://bugs.freedesktop.org/show_bug.cgi?id=74179 --- Comment #3 from Eugene Kin eugene.kinya...@gmail.com --- Confirm the issue with printing and PDF export of DOC/DOCX documents with Calc table in it 1) Create new Text Document 2) Copy/Paste table from Calc 3) Save document in DOC or DOCX format 4) Close document 5) Open document 6) Try to print or make PDF export Operation takes too long (LibO freezes for couple of minutes) Tables are exported as images Printed or exported document get broken (some borders and/or text is missing) LibO version: 3.6 - 4.3 RC1 LibO 3.5, OpenOffice 4.1.0, Symphony 3.0.1 are making correct export to PDF and printing Tested on Windows 7 SP1 x64 and Windows XP SP3 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 74179] PRINTING - EXPORTING PDF :image non correctly printed with excel table linked in ppt presentation
https://bugs.freedesktop.org/show_bug.cgi?id=74179 --- Comment #4 from Eugene Kin eugene.kinya...@gmail.com --- Created attachment 101341 -- https://bugs.freedesktop.org/attachment.cgi?id=101341action=edit Test document with Calc table -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 74179] PRINTING - EXPORTING PDF :image non correctly printed with excel table linked in ppt presentation
https://bugs.freedesktop.org/show_bug.cgi?id=74179 --- Comment #5 from Eugene Kin eugene.kinya...@gmail.com --- Created attachment 101342 -- https://bugs.freedesktop.org/attachment.cgi?id=101342action=edit Exported PDF from LibO 3.6 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 74179] PRINTING - EXPORTING PDF :image non correctly printed with excel table linked in ppt presentation
https://bugs.freedesktop.org/show_bug.cgi?id=74179 --- Comment #6 from Eugene Kin eugene.kinya...@gmail.com --- Created attachment 101343 -- https://bugs.freedesktop.org/attachment.cgi?id=101343action=edit Exported PDF from LibO 4.0 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 74179] PRINTING - EXPORTING PDF :image non correctly printed with excel table linked in ppt presentation
https://bugs.freedesktop.org/show_bug.cgi?id=74179 --- Comment #8 from Eugene Kin eugene.kinya...@gmail.com --- Created attachment 101345 -- https://bugs.freedesktop.org/attachment.cgi?id=101345action=edit Exported PDF from LibO 3.5 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 74179] PRINTING - EXPORTING PDF :image non correctly printed with excel table linked in ppt presentation
https://bugs.freedesktop.org/show_bug.cgi?id=74179 --- Comment #7 from Eugene Kin eugene.kinya...@gmail.com --- Created attachment 101344 -- https://bugs.freedesktop.org/attachment.cgi?id=101344action=edit Exported PDF from LibO 4.3 RC1 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80220] New: automatic date-style is replaced on document load
https://bugs.freedesktop.org/show_bug.cgi?id=80220 Priority: medium Bug ID: 80220 Assignee: libreoffice-bugs@lists.freedesktop.org Summary: automatic date-style is replaced on document load Severity: normal Classification: Unclassified OS: Windows (All) Reporter: h...@9tw.de Hardware: x86-64 (AMD64) Status: UNCONFIRMED Version: 4.1.3.2 release Component: Writer Product: LibreOffice Created attachment 101347 -- https://bugs.freedesktop.org/attachment.cgi?id=101347action=edit ODT and content.xml before and after reopening it in Writer In a german environment i try to embed a specifically formatted Date with EN-US locale using a FieldFormula and a language-setting of EN-US. At first I seem to succeed (exact procedure see below) but when i save the document and open it again, the language-setting of my field has changed to 'automatic' and my special format is gone. When I close Writer, open the document again and save it again and compare the two 'content.xml' files, i notice that the first content.xml contains an automatic date-style for my format while in the second one it is gone. So it seems to me, that on opening the ODT, Writer 'optimizes' away my date-style. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 74179] PRINTING - EXPORTING PDF :image non correctly printed with excel table linked in ppt presentation
https://bugs.freedesktop.org/show_bug.cgi?id=74179 --- Comment #9 from Eugene Kin eugene.kinya...@gmail.com --- Created attachment 101346 -- https://bugs.freedesktop.org/attachment.cgi?id=101346action=edit Exported PDF from OO 4.1 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80219] [FILESAVE] SVG loss some color after saving
https://bugs.freedesktop.org/show_bug.cgi?id=80219 vulc...@gmx.com changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from vulc...@gmx.com --- In french QA, the users reproduce in Windows 7/64 with: Version: 4.2.5.1 Build ID: 881bb88abfe2992c6cede97c23e64a9885de87de Version: 4.3.0.0.beta2 Build ID: a06aa316117a6ff0f05c697c82831c227812d810 The bug is not reproduced in Ubuntu 12.04 x86-64 on LibreOffice 4.1.5.1 Build ID: e0a1805d063a472a7b281ae3977a26d42a48b20 (fresh insatll) or LibreOffice 3.5.7.2 Version ID : 350m1(Build:2) -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80219] [FILESAVE] SVG loss some color after saving
https://bugs.freedesktop.org/show_bug.cgi?id=80219 vulc...@gmx.com changed: What|Removed |Added OS|Linux (All) |All Whiteboard||bibisect Keywords||regression -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 71558] Accessible text-attributes-changed signals are not emitted when a word becomes marked as misspelled [a11y]
https://bugs.freedesktop.org/show_bug.cgi?id=71558 Jacobo Aragunde Pérez jaragu...@igalia.com changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|libreoffice-b...@lists.free |jaragu...@igalia.com |desktop.org | -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80219] [FILESAVE] SVG loss some color after saving
https://bugs.freedesktop.org/show_bug.cgi?id=80219 --- Comment #2 from vulc...@gmx.com --- Created attachment 101348 -- https://bugs.freedesktop.org/attachment.cgi?id=101348action=edit Screenshot of expected saving's result The defaut_couleur.odt before saving: the two picture are different. It's result expected -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80219] [FILESAVE] SVG loss some color after saving
https://bugs.freedesktop.org/show_bug.cgi?id=80219 --- Comment #3 from vulc...@gmx.com --- Created attachment 101349 -- https://bugs.freedesktop.org/attachment.cgi?id=101349action=edit The bug The two picture are different after a saving and a new launch of the saved file -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80221] New: Possible interaction between LibreOffice (un)-install and Windows screensaver ???
https://bugs.freedesktop.org/show_bug.cgi?id=80221 Priority: medium Bug ID: 80221 Assignee: libreoffice-bugs@lists.freedesktop.org Summary: Possible interaction between LibreOffice (un)-install and Windows screensaver ??? Severity: normal Classification: Unclassified OS: All Reporter: grot...@hotmail.com Hardware: Other Status: UNCONFIRMED Version: unspecified Component: Installation Product: LibreOffice Today the only administrative things I've done on my Windows 7 computer are to uninstall LibreOffice 4.0.0.3 and install LibreOffice 4.2.4.2. Since installing LibreOffice 4.2.4.2 the Windows screensaver has not loaded (Ribbons, but going through them, others have the same problem). Instead of displaying the screensaver, a message appears centre-screen on a black background stating Windows could not start this screen saver. It was definitely working fine earlier in the day, prior to the uninstall/install operations. I clearly remember the ribbons being present when I first turned the monitor on. This is not a Windows Update issue; WU is set to ask me before installing any updates - and it hasn't done any updating today. Nor has any other software. While I personally cannot see how this could be linked to LibreOffice, perhaps there's some interaction I don't know about? In any case, as mentioned, the LibreOffice Install actions are the only high-privelage actions I've taken today so there are no other likely suspects... While I was hesitant about submitting this bug because of the only circumstantial evidence, I would recommend you leave it active for a while because, if other people start going oh yeah, I had that or similar, might be able to shed more light on this. If nobody else has, then it's probably unrelated. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 79810] DOCX IMPORT: Wrong underline applied to list style
https://bugs.freedesktop.org/show_bug.cgi?id=79810 suokunl...@gmail.com changed: What|Removed |Added Blocks||75025 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 75025] LibreOffice 4.3 most annoying bugs
https://bugs.freedesktop.org/show_bug.cgi?id=75025 suokunl...@gmail.com changed: What|Removed |Added Depends on||79810 --- Comment #29 from suokunl...@gmail.com --- Adding Bug 79810 - DOCX IMPORT: Wrong underline applied to list style. This causes wrong formating when open DOCX file. It's a regression in 4.3.0.0 beta2, and still exists in 4.3.0 RC1. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 73974] FILEOPEN: Formulae broken after import of .doc file: hat and bar not recognized
https://bugs.freedesktop.org/show_bug.cgi?id=73974 Jacques Guilleron guillero...@aol.com changed: What|Removed |Added Status|UNCONFIRMED |NEW CC||guillero...@aol.com Ever confirmed|0 |1 --- Comment #4 from Jacques Guilleron guillero...@aol.com --- Hi Fabian Alexander Wilms, Reproduced with LO 4.2.4.2 and LO 4.4.0.0.alpha0+ Build ID: 3e82897353e576dc6e3fbf55371fda5a0c3415df TinderBox: Win-x86@39, Branch:master, Time: 2014-06-17_08:55:34 Windows 7 Home Premium. Set Status to NEW. regards, Jacques -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80220] automatic date-style is replaced on document load
https://bugs.freedesktop.org/show_bug.cgi?id=80220 --- Comment #1 from Wahrendorff h...@9tw.de --- Detail: You might need to use a different language where i have used 'English(USA)' if you are in an american english environment. 1) create a new Writer Document 2) write a little Text 3) select all by pressing ctrl-a 4) Under FormatText choose Language English(USA) 5) Under ExtrasLanguageWhole Text choose English(USA) 6) Place cursor anywhere inside text 7) InsertFieldothervariableFormula 8)Value: 0 9)Formatother formats 10) Language: English(USA) 11) Category: Date 12) Format: December 31, 1999 13) Leave 'other formats' by pressing 'ok' 14) 'insert' formula into text and press 'close' 15) Save the document and close Writer 16) By unzipping the document verify that it contains the correct automatic date-style in content.xml (N10076 in my case) 17) reopen the document in Writer 18) do a 'no change' to make it saveable again (insert a blank and delete it again) 19) Save the document and close Writer 20) By unzipping the document verify that it does not contains the correct automatic date-style anymore in content.xml. Instead there is a standard date-style without language and country (N76 in my case) After step 17) one could edit the formula, go to 'other formats' and see that the language has changed to 'automatic' Please note that * a simple 'Date'-Field will not be sufficient for our usecase due to calculations * The document is edited, saved and reopend many times before finally evaluating all fields. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80181] FILEOPEN: Wrong opening of pptx
https://bugs.freedesktop.org/show_bug.cgi?id=80181 --- Comment #2 from Yan Pashkovsky yanp...@gmail.com --- Created attachment 101351 -- https://bugs.freedesktop.org/attachment.cgi?id=101351action=edit Test presentation That presentation file, which open incorrectly -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80205] assertion in OUString::operator[], at ustring.hxx:421
https://bugs.freedesktop.org/show_bug.cgi?id=80205 Maxim Monastirsky momonas...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED CC||momonas...@gmail.com --- Comment #4 from Maxim Monastirsky momonas...@gmail.com --- Fixed in http://cgit.freedesktop.org/libreoffice/core/commit/?id=2b6f2beec6ceffbde287ebef295eb27bb7f35d00. The warning about the missing filters fixed in http://cgit.freedesktop.org/libreoffice/core/commit/?id=2999a87db65767b26a161b60a2e80f5afd76ef52. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 69036] segfault in osl_acquireMutex
https://bugs.freedesktop.org/show_bug.cgi?id=69036 Bug 69036 depends on bug 80205, which changed state. Bug 80205 Summary: assertion in OUString::operator[], at ustring.hxx:421 https://bugs.freedesktop.org/show_bug.cgi?id=80205 What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80222] New: File Association catches old MS formats during default installation
https://bugs.freedesktop.org/show_bug.cgi?id=80222 Priority: medium Bug ID: 80222 Assignee: libreoffice-bugs@lists.freedesktop.org Summary: File Association catches old MS formats during default installation Severity: critical Classification: Unclassified OS: Windows (All) Reporter: merschm...@gmail.com Hardware: Other Status: UNCONFIRMED Version: 4.3.0.1 rc Component: Installation Product: LibreOffice Installation of LO 4.3.0.1_Win_x86 on Windows 7 Professional beside a valid Office 2010 and with an existing 4.2.x. All on default. All the older MS-Office-files (97-2003 format) are associated with LO. The newer XML-Formats remain untouched. Expected: All MS-formats should be left to MS-Office. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 62381] CRASH when select slide with OLE object in Slides pane
https://bugs.freedesktop.org/show_bug.cgi?id=62381 --- Comment #25 from Pedro pedl...@gmail.com --- This crasher still occurs with LO 4.3.0.1 under Windows XP Pro x86 SP3 (but not under Windows 7 Pro x64) Since it seems to be a Windows XP specific bug my hope that it will be fixed is very little. However I did post some findings that maybe are relevant http://nabble.documentfoundation.org/Backtracing-in-Windows-XP-tt4096030.html#a4096921 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80219] [FILESAVE] SVG loss some color after saving
https://bugs.freedesktop.org/show_bug.cgi?id=80219 vulc...@gmx.com changed: What|Removed |Added Hardware|x86-64 (AMD64) |All --- Comment #4 from vulc...@gmx.com --- French QA user say that reproduce on Linux x86 = Platform x86_64 to all -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 36549] ACCESSIBILITY: Tracking bug for issues affecting a11y ATK and GNOME Orca screen reader support
https://bugs.freedesktop.org/show_bug.cgi?id=36549 Bug 36549 depends on bug 70588, which changed state. Bug 70588 Summary: Accessible labels in alerts claim to be ROLE_PASSWORD_TEXT instead of ROLE_LABEL https://bugs.freedesktop.org/show_bug.cgi?id=70588 What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs