summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-07-29fdo#66025: Improve accuracy of ImportError traceback and messageDavid Bolen1-9/+41
The ImportError raised on an import failure with the uno module loaded now includes a complete traceback and the original Python exception message text, combined with the most relevant (nearest to failure if imports are nested) uno lookup that also failed. Cherry-picked from 948b6ea02ea9de7fb4e1e2baf95ecae3ba1cd54e plus previous patches leading up to that, 7fd81244c21ad54a8b9766902fd7c34e8055b165 "fdo#66025: Improve ImportError raised from _uno_import," 329125abb63061214897e4f215d41cfa4b13b4b0 "fdo#66025: Minor clean-up of previous patch," and fbe28de6fbfdce41544e4e93168d32661add8285 "fdo#66025: Simplify new ImportError logic." Change-Id: I8c22f22c2d96bdd7fb99a87273ba574e22a86923 Signed-off-by: Stephan Bergmann <sbergman@redhat.com> (cherry picked from commit 52a533cc31f630ad482fe0fde8d925b459c787bf)
2013-07-28fdo#54320: VoiceOver does not follow keyboard focusBoris Dušek1-1/+1
The AXFocusedUIElementChanged notification must have the application object as its parameter, as it is the application object whose AXFocusedUIElement attribute value is changing (and because the docs say so). Change-Id: Ife63a1e59d8a24256ace38fb98b69fd1544f9c96 Reviewed-on: https://gerrit.libreoffice.org/5158 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-07-28fdo#67303: sw: speed up setting IsHidden property on stylesMichael Stahl3-3/+24
Importing an ODF document with 4089 styles is ridiculously slow, spending most of the time in SwStyleSheetIterator::First() to reset an existing iterator. Since the SwStyleSheetIterator can handle the case when First() has not been called anyway, just add a new method that resets the bFirstCalled flag, which takes next to no time. (regression from a0dcf961879ab644a52f801f65466756cb144b72) (cherry picked from commit 8fb210a2ddc0b09288316cf459bebfe196ea94fb) Conflicts: svl/inc/svl/style.hxx Change-Id: I8741b4c0cd51f8c244462ce28a754abc427d0df3 Reviewed-on: https://gerrit.libreoffice.org/5138 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-28fdo#61201: Don't forget to calculate row offset for external single ref.Kohei Yoshida1-0/+1
Change-Id: Ie3dbf2eeba98a60aa2426b1db35ac885102d3821 (cherry picked from commit 8b96cfd6caedbad7b3b79e57421a834f18c5c511) Reviewed-on: https://gerrit.libreoffice.org/5143 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-28fdo#60282 fdo#66745 i#122509 Corrected typo in basegfxArmin Le Grand1-1/+1
(cherry picked from commit cdf48cfdbdb5348b259f4632790ffd178fcad1f7) (cherry picked from commit 744244997da79ca95278249eeadf716730fffd82) Signed-off-by: Michael Stahl <mstahl@redhat.com> Change-Id: Iaa62acc4901c3edd31d0af7c642327dddf07f562 Reviewed-on: https://gerrit.libreoffice.org/5144 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-26fdo#33605: Handle http etc. URLs with no path but fragmentStephan Bergmann2-2/+24
Change-Id: I8c47cc55e7ad53e514c0bd46130cbbe6a1bb0357 (cherry picked from commit 44ddacb232c4fd5cbb28867aa28d7d855788a511) Reviewed-on: https://gerrit.libreoffice.org/5130 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-07-26fdo#67258 catch error when calling mdfindChristian Lohmaier1-1/+6
This can be the case when spotlight is disabled. So just ignore any error when trying to locate installed versions and let the user continue with the manual selection instead of aborting. Change-Id: I2c4e12652b8cb3b43af3ca6d8d553f0558f91858 Reviewed-on: https://gerrit.libreoffice.org/5069 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-on: https://gerrit.libreoffice.org/5117
2013-07-25fdo#67269 adapt checkTable to getTableName changeLionel Elie Mamane1-3/+4
getTableName used to return schema.table; now it returns just table But tables are indexed by schema.table in getTables(), so reconstruct that for the lookup. Change-Id: I53da1e43762b3a470e34b5dfdb0e1bb3dc914780 Reviewed-on: https://gerrit.libreoffice.org/5101 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-25Use the WPX_SEEK_SET inconditionallyFridrich Štrba4-0/+30
(cherry picked from commit e4906561219fe88345ace8aa4d6f48cbb01262d8) Conflicts: libcdr/UnpackedTarball_libcdr.mk libvisio/UnpackedTarball_libvisio.mk Change-Id: I8d202d843b8ecf5a32131058ae1a5cd465e6069c Reviewed-on: https://gerrit.libreoffice.org/5105 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-07-25Use inconditionally the libwpd >= 0.9.5 pathFridrich Štrba2-5/+1
Since libwpd does not output the version number anymore (cherry picked from commit 93d0e38ccc06060f20073a9461c53f471a1b9c03) Conflicts: writerperfect/source/common/WPXSvStream.cxx Change-Id: I1bc3f7081552795fc2ed33f033a093fa5b40fda8 Reviewed-on: https://gerrit.libreoffice.org/5103 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-07-25fdo#33617 adapt report engine to incompatible BorderLine2 changeLionel Elie Mamane4-25/+31
Conflicts: reportdesign/source/core/api/ReportDefinition.cxx reportdesign/source/filter/xml/xmlHelper.cxx Change-Id: I482e4b7b9f056247de3dae247d9328eb672eeba8 Reviewed-on: https://gerrit.libreoffice.org/5087 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-24fixup cherry-pick of fdo#67186 fixLionel Elie Mamane1-1/+1
Fixed commit: commit ac2d93cca0791a728583a40dc379c89c22582855 Author: Lionel Elie Mamane <lionel@mamane.lu> 2 AuthorDate: 2013-07-23 19:14:04 +0200 Reviewed-on: https://gerrit.libreoffice.org/5055 Change-Id: I67990232dbc9e86ac3fa37cd0c20edecb87cf8ee Summary: fdo#67186 switch reporbuilder to null date == 1899-12-30 Change-Id: I1edf6402c9f25094b171ef65c4e1b5037731d17c Reviewed-on: https://gerrit.libreoffice.org/5062 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-07-23fdo#67186 switch reporbuilder to null date == 1899-12-30Lionel Elie Mamane6-45/+23
This brings it in line with the default for other LibreOffice components (e.g. Calc), or with the only supported value (e.g. Writer tables), respectively. Configure Pentaho jfreereport to also take null date == 1899-12-30 This combined allows reportbuilder to make absolutely no fiddly conversion itself, leaving them to jfreereport and Writer table cell format. Also: - Make absolutely no conversion itself, also e.g. for booleans. - ODF compliance: make the value-type match the set foo-value attribute. - Use value-type="void" instead of empty value-type="string" Conflicts: reportdesign/source/core/sdr/RptObject.cxx Conflicts: reportdesign/source/core/sdr/RptObject.cxx reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx Change-Id: I67990232dbc9e86ac3fa37cd0c20edecb87cf8ee Reviewed-on: https://gerrit.libreoffice.org/5055 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-22fdo#66274: Saving document as RTF result in text 'Use Rich Text Format Format'Julien Nabet1-1/+1
Change-Id: Id617816c8530b7536238b5aa4a471c57a2a0b82e Reviewed-on: https://gerrit.libreoffice.org/4999 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-on: https://gerrit.libreoffice.org/5037
2013-07-21Updated coreAndras Timar1-0/+0
Project: translations abfb59b2b1a2f2c9c7360e7aafb957de9390aae7
2013-07-19fdo#60075 open drawings with connector attached to SVGDavid Tardon5-16/+109
This problem arises when there is a connector attached to draw:frame element with multiple draw:image elements in it. The import code expects that they are different representations of the same image (I have not found if this is specified in ODF), so it only selects the most "suitable" for import. To do that, it imports them all and then removes all but the selected one. The image import context, SdXMLGraphicObjectShapeContext, shares the parent frame's attributes, which means that all the images in a frame have got the same ID. in SdXMLGraphicObjectShapeContext::AddShape, the created css::draw::XShape is registered with its ID... That means that anything that refers to the frame's ID, like a draw:connector, will always get the _first_ image in the frame. Solution is to extend comphelper::UnoInterfaceToUniqueIdentifierMapper to allow reserving an identifier and setting an interface for it later. That way, SdXMLFrameShapeContext can reserve its own ID before it starts importing the first draw:image, and then set the selected XShape at the end. (cherry picked from commit 30b248dfe5bfb8a0649e36f22c943b3feb2f1385) Signed-off-by: David Tardon <dtardon@redhat.com> Conflicts: include/xmloff/unointerfacetouniqueidentifiermapper.hxx include/xmloff/xmlmultiimagehelper.hxx xmloff/source/draw/ximpshap.cxx Change-Id: I2e11cfd38e1e3534df2b3c01d85da0d755a266c3 Reviewed-on: https://gerrit.libreoffice.org/4982 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-19Updated coreAndras Timar1-0/+0
Project: dictionaries 007194308d9e758c196226b0d9af7f4c1e127ea4 updated Spanish dictionary pack to 0.7 Versión 0.7: - Más modificaciones en los ficheros de afijos (prefijo contra-). - Agregado de lemas faltantes, gracias a Alejandro Moreno y KNTRO. - Revisión de la lista de abreviaturas. - Corrección de archivos de sinónimos y creación de script asociado. Change-Id: Iae6fef300292f1df2753f7bdb45040d66c168bb6 Reviewed-on: https://gerrit.libreoffice.org/4986 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-19WaE: assuming signed overflow does not occur when assuming...Caolán McNamara1-2/+9
that (X + c) < X is always false [-Wstrict-overflow] (cherry picked from commit 37a3f9638315483114380a461f60abeab7809a3d) Change-Id: I63880bf27ab7e34eb9e0be682b39b80b71d65103 Reviewed-on: https://gerrit.libreoffice.org/4963 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com> (cherry picked from commit 3d67253be08fba7b717332a23ffbe6f2cb6c2a53) Reviewed-on: https://gerrit.libreoffice.org/4967 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-17Updated coreAndras Timar1-0/+0
Project: dictionaries 2bb71210af4e70f02d53fff8fca753f7225e1eb2 update Swedish dictionary Change-Id: Ie67cea97508d45c69d4c2721396e50ffc924e2c9 Reviewed-on: https://gerrit.libreoffice.org/4951 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-07-17Updated coreAndras Timar1-0/+0
Project: dictionaries bb0b0a17c6c147ab0f2c2145d5f7d1bcb0ae7124 update pt-PT dictionary Change-Id: Ie4dbe9a0a5da536a8d2e3ce1b679c28376706b0c Reviewed-on: https://gerrit.libreoffice.org/4949 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-07-16fix build with system poppler-0.23.0Petr Mladek2-2/+10
XRef *xref parameter has been added to the OutputDev::startPage method, see http://cgit.freedesktop.org/poppler/poppler/commit/?id=8eb489c355d734a72e140ce7e32470d048362499 Change-Id: I7ad875bf58f6998e639c740f0dac3795738cd1db Reviewed-on: https://gerrit.libreoffice.org/4940 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-07-16bnc#829017 fix issue with negative seeks in win32 shell extensionFridrich Štrba3-5/+5
Change-Id: Ia8072f78ad43281e406377922f50f8de53194f1b (cherry picked from commit 2a4c55f6d46aec5164ec2ec189ee39cf71c9308c) Reviewed-on: https://gerrit.libreoffice.org/4942 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-07-15fdo#63998: Filtering by page fields to work again.Kohei Yoshida3-116/+201
Conflicts: sc/source/core/data/dpgroup.cxx Change-Id: I267ccb30cfa6347313fa1de96e18731f0e22d57d Reviewed-on: https://gerrit.libreoffice.org/4897 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-07-15fdo#57631 fix collection of property statesDavid Tardon1-10/+2
Change-Id: I607518da26c9430916d922b8e36143cc6dd76f25 (cherry picked from commit d3d95afe5856ef06659d61c3572c7682e5a03766) Signed-off-by: David Tardon <dtardon@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/4912 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-07-15Related: fdo#66761 the double-encoding bug appears gone in python 3.3.2Caolán McNamara1-6/+14
i.e. I see the bug in our built-in python3 3.3.0 but not in my system python 3.3.2 and there's a raft of email related bug fixes in the 3.3.2/3.3.1 python Changelog Change-Id: I257770cd0ec41fc3b2f2a638009b075b9a2f325f (cherry picked from commit 24078e3501042e8693ef1f9d3edebbc47e37ce12) Related: fdo#66761 we want the bytes, not a str representation of them Change-Id: I3c268b0c51f7e1ddd2fa6588f40412a33f316b52 (cherry picked from commit f460556bfa6bd55df3cd4b2288524d63db284d7e) Reviewed-on: https://gerrit.libreoffice.org/4909 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com> (cherry picked from commit c71f67198cd6fc98f77289c4f0276a45d19700d8) Reviewed-on: https://gerrit.libreoffice.org/4914
2013-07-13Fix some runtime exceptions with msvc-built libvisioFridrich Štrba2-0/+16
The previous code was causing silent exceptions in some particular cases. Passing through a temporary works well. (cherry picked from commit ae9003af4c3942aa184b67c3cb7687f9dfc7dd5e) Conflicts: libvisio/UnpackedTarball_libvisio.mk Change-Id: I71a9a58b98b5f392da4d8a4c8d08ddc1487ec79f Reviewed-on: https://gerrit.libreoffice.org/4879 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-07-13Resolves: fdo#66761 Macro controlled Python Mailmerge brokenCaolán McNamara1-1/+4
Change-Id: Id8bbf06a5571534aa5eef8624e89565fe3715938 (cherry picked from commit c4aa13c931da11164835a7aafbfd7e44bd5714ca) Reviewed-on: https://gerrit.libreoffice.org/4884 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-12bnc#828598 fdo#59643 SwFormatClipboard: fix undo of paragraph attributesMiklos Vajna1-12/+1
Paragraph attributes were set directly on the SwTxtNodes, instead of going through SwWrtShell::SetAttr(), which handles undo/redo. Regression from 357fac9713875302d30185feabaf5c165e040ca4. (cherry picked from commit b1cd73d3e62c5192bc3d77f5ecd1036ff42bde61) Change-Id: I5dc86e20e3c006dab60a075355ce9ad1f1b67bb6 Reviewed-on: https://gerrit.libreoffice.org/4870 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-07-12ORDER BY columns are prioritarily *SELECT* columnsLionel Elie Mamane5-37/+98
as opposed to *table* columns, and notwithstanding HSQLDB 1.8 (our embedded database) bugs. Actually, supporting ORDER BY on non-select (but table) columns is OPTIONAL for DBMSs (but quite common) Conflicts: connectivity/source/parse/sqliterator.cxx Change-Id: I6725dfda36b09429a78262bff6f3d3e3dd9032b6 Reviewed-on: https://gerrit.libreoffice.org/4846 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-07-12sort is ascending by defaultLionel Elie Mamane1-1/+1
Change-Id: I38354405acbbdb27b9e7ce1d19e862b7b352c850 Reviewed-on: https://gerrit.libreoffice.org/4844 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-07-11delete in destructor checkbox created in constructorLionel Elie Mamane1-0/+1
Change-Id: Ifceae4c7ffe15bfc62ce34f4463fd4e071403359 fixes: debug build aborts when closing that window Reviewed-on: https://gerrit.libreoffice.org/4845 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-11rhbz#980387 fix filter selection from file ext.David Tardon1-1/+21
... for filters that have more than one extension associated with them (e.g., JPEG). (cherry picked from commit 70376f610a7eb876739829e1f362bc94b21cb82f) Signed-off-by: David Tardon <dtardon@redhat.com> Conflicts: vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx Change-Id: Ic6b16d3b4aa17580404d02a9fb7b087b9aa52fc2 Reviewed-on: https://gerrit.libreoffice.org/4824 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-10fdo#66682 RTF export: fix level text of SVX_NUM_ARABICMiklos Vajna4-3/+52
Even if level text is not ASCII, we should just write the placeholder values (0x00, 0x01, etc.) in a hex encoded form, without Unicode. Regression from 07d01742c69f1c0335bc7e1b57abd8341ce255e7. Also, fix the import side, so the previous bad output now looks bad in Writer as well. (cherry picked from commit 8422d1f5042de08e8b090a907889b41e133bda40) Conflicts: sw/qa/extras/rtfexport/rtfexport.cxx writerfilter/source/rtftok/rtfdocumentimpl.cxx Change-Id: I2f93892006c07eec243ec7dfcb23372d243a2db4 Reviewed-on: https://gerrit.libreoffice.org/4815 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-07-10Uploading new libvisio 0.0.30Fridrich Štrba3-38/+2
with huge performance/memory consumption improvements with NURBS and B-Splines (cherry picked from commit 0f978a88c618af59e77aeba920093c5e67559c88) Conflicts: download.lst libvisio/UnpackedTarball_libvisio.mk Change-Id: I5f338d6c70f948dd2192ec7147efdc1bdeef1e05 Reviewed-on: https://gerrit.libreoffice.org/4812 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-07-10rhbz#960019 : RTF import: handle extra groups in listoverride entryMichael Stahl2-2/+24
This crashed because for a single listoverride entry 2 SPRMs were sent to the domain-mapper, and the second one was empty. Conflicts: sw/qa/extras/rtfimport/rtfimport.cxx writerfilter/source/rtftok/rtfdocumentimpl.cxx Change-Id: Ic41ffd8bd4edcff065f49ecef3464efedd909d63 (cherry picked from commit b3944f124ab3dc87332796a46387f837ad29e8d5) Reviewed-on: https://gerrit.libreoffice.org/4801 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-07-10writerfilter: not every field has a Content propertyMichael Stahl1-3/+6
... so don't try to get it unconditionally (but SetExpression does have it). (regression from c7e4264bed4e77daccf2f72063e5e00f1008c3cf) Change-Id: I14d24bd70f569ba0bc4f1e48d56ebf43c1441783 (cherry picked from commit 1c90902cbccd4e4f5946dfc454da351c33c24f71) Reviewed-on: https://gerrit.libreoffice.org/4808 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-07-10don't use empty table nameLionel Elie Mamane1-4/+5
Conflicts: dbaccess/source/core/api/SingleSelectQueryComposer.cxx Change-Id: I9c8c3882f659747d53a047481ccabf1785835c99 Reviewed-on: https://gerrit.libreoffice.org/4794 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-07-10fdo#58644 fix handling of subqueriesLionel Elie Mamane1-0/+1
don't remove parentheses around subqueries (without the parentheses, it is not valid SQL) Change-Id: I4e9c55cea0276f10b0f97e31bc329949aba5b989 Reviewed-on: https://gerrit.libreoffice.org/4795 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-07-09fdo#66582 avoid crash because of missing modelDavid Tardon1-1/+1
The SdrObject is still under construction at this point, so it does not make sense to broadcast changes, because there are not any listeners anyway. Change-Id: Ib05e30843b4b0e125d5cae18a481e16fb7e21ba1 (cherry picked from commit 6e2815a0ffdb5811f220978734354b1033801927) Signed-off-by: David Tardon <dtardon@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/4781 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-08fdo#65055: sfx: fix automatic version on closeMichael Stahl2-3/+6
The parameter "FailOnWarning" is passed around better now, so it arrives in SfxBaseModel::storeSelf() which considers it illegal. (regression from e2799d253b1dc62967693aa5bccd7360a9520967) Change-Id: I2a51a2ecc24e6de506e1840bd28cbe157a8ad6a5 (cherry picked from commit 969bc572441ef8fd43cd7d350a533ffd715b74d3) Reviewed-on: https://gerrit.libreoffice.org/4774 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-08fdo#66335: fix fdo#44582 and fdo#63254 differentlyIvan Timofeev3-11/+5
This combines the following cherry picked commits: 1) fdo#66335: gtk: Revert hacks for RTL scrollbars returning false here in getNativeControlRegion results in a fallback to square buttons in vcl scrollbar code. But there is no problem in gtk+ backend in this case, let's fix the problem differently. This reverts commits 898a3e84807bccbb876e3f5583728f6d24e05e9a and e8e82bd2109b82ddd535cdac30303249c6b62942. (cherry picked from commit 48e1d9c7afe5c2a39d9a08d7a38f7c8ff39d8c84) 2) fdo#44582: fix scrollbars in RTL UI (cherry picked from commit e3a801e2454eed2e61202bbacca01fe3fcc20c1d) 3) fdo#63254: correct re-mirroring formula This patch fixes horizontal scrollbar in Calc when a sheet is RTL and UI is LTR. When a particular window (horizontal scrollbar in this case) is RTL and a whole UI is LTR this code used for mirroring and re-mirroring back coordinates. AFAICS mirroring is correct, but re-mirroring is not. The used formula comes from commit 69b684b12e42bf1396bdffca88ca880ac3c2e00b, and the same formula appears in the other variant of overloaded function "mirror": mirror(sal_uInt32, const SalPoint*, SalPoint*, const OutputDevice*, bool), but it does not affect the bug. (cherry picked from commit a08f579e3704fbd97590f9b050d250ae445725a7) Conflicts: vcl/source/control/scrbar.cxx Change-Id: I0ccaa8998fe87403b3606828eaf3f5bd1dbe6bb4 Reviewed-on: https://gerrit.libreoffice.org/4622 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Reviewed-by: Abdulaziz A Alayed <aalayed@kacst.edu.sa> Tested-by: Abdulaziz A Alayed <aalayed@kacst.edu.sa> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-08fdo#65932: sw: remove SwDoc::ShareLayoutMichael Stahl4-21/+0
It is a crude hack that is no longer necessary because the underlying problems that caused crashes when deleting the layout have been fixed. Also it appears to cause crahes now. Conflicts: sw/inc/doc.hxx sw/source/core/doc/doclay.cxx sw/source/core/doc/docnew.cxx sw/source/core/view/vnew.cxx Change-Id: I601bdb0dc0aff5f4ddb8b8f4ba4c8d1f72c76666 (cherry picked from commit f8dfa3a81a5382b2f18a705bd512625754167573) Reviewed-on: https://gerrit.libreoffice.org/4741 Tested-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-08n#825976: Fixed the import of Table of FiguresCédric Bosdonnat3-2/+19
Support the TOC \c switch and fixed the SetExpression current presentation property to have updated fields and TOC. (cherry picked from commit 22a22a0983ec9c95e5b471395fc1c5bb813bd0d2) Conflicts: writerfilter/source/dmapper/PropertyIds.cxx Change-Id: I6fbd7cc38cf8ea7f08a0d15d1f39ffe4805dd62b Reviewed-on: https://gerrit.libreoffice.org/4722 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-08n#825976: Added common flags support for SEQ field importCédric Bosdonnat1-3/+16
Change-Id: I9a4505cf060880811abfe355b2ebf810cde9a4d6 (cherry picked from commit 031ced0d1ade5350ef0b17a245a2cb5c76e6173d) Reviewed-on: https://gerrit.libreoffice.org/4721 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-08n#825976: writerfilter initial support of SEQ fieldsCédric Bosdonnat1-4/+33
No switch and no numeric formatting is taken into account ATM, just the defaults, but at least we have the fields properly created. Change-Id: Ib17c5e93199044a05005e4648c7e4cc81baf51dd (cherry picked from commit 94a9bce4fb61aeeece8809eec1cbdc37101bdd22) Reviewed-on: https://gerrit.libreoffice.org/4720 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-08Proper fix for remove_whitespace iterator and older boostFridrich Štrba1-12/+24
The previous "fix" was resulting in exceptions in some vdx files. Change-Id: I961560b66bc29660daca54e39f14f612bbb50e34 (cherry picked from commit c4475946b3171353d0eaefe72ba24e13744458a3) Reviewed-on: https://gerrit.libreoffice.org/4758 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-07-04Uploading new libvisio 0.0.29, fixing fdo#66421Fridrich Štrba3-2/+25
(cherry picked from commit 50b0bf15bf0e173ba449efed93ef3909253b9988) Reviewed-on: https://gerrit.libreoffice.org/4678 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com> (cherry picked from commit 3820420edfb828e49735becf796803f0558ef844) Conflicts: download.lst Change-Id: I7b9bc581c81caf74cb6f922abc2cfaee87b20572 Allow build with older boost (cherry picked from commit d37723a2496907bf60829306c6509fe24a9c4dbe) Reviewed-on: https://gerrit.libreoffice.org/4681 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> (cherry picked from commit 48259302d6cdf069fccc00461e7ad44b414f93e5) Conflicts: libvisio/UnpackedTarball_libvisio.mk Change-Id: I49902109eb2a1b9561a9ccfa70d89c160a4965a9 Reviewed-on: https://gerrit.libreoffice.org/4711 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-07-04n#820503: initial MCE support in writerfilter ooxml tokenizerCédric Bosdonnat4-8/+67
writerfilter OOXML tokenizer was just ignoring the mce elements and thus getting the Choice content and the Fallback one. This initial support drops all mc:Choice contents to read mc:Fallback. At least for drawingML vs VML support, we have a much better support of the fallback. Change-Id: Ic0bf69d0436994e9cfcf38accdd57d17e9f391fe (cherry picked from commit f4112ce9e7840efbcd567c4d18ed4519a1e91294) Reviewed-on: https://gerrit.libreoffice.org/4705 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-04fastsax: provide the element name instead of prefix for unknown elementsCédric Bosdonnat1-1/+1
Change-Id: I3effd8a0cfe57875446536bbd0a93a73e630a44f (cherry picked from commit 4946cc813704703f7d988a6acf75c4d9e9c068a9) Reviewed-on: https://gerrit.libreoffice.org/4704 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-03Fix Windows signing and timestampingFridrich Štrba2-4/+13
(cherry picked from commit 523258e675e881d6f8efc031e3885d0197c8aad0) Reviewed-on: https://gerrit.libreoffice.org/4692 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com> (cherry picked from commit 92b5d7f7c9ae3af23833df9fe7a503e844b913e4) Conflicts: postprocess/CustomTarget_signing.mk Change-Id: Ife8774c9a6157e8bb943d1ba8ec32f560c8281c4 Reviewed-on: https://gerrit.libreoffice.org/4694 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>