summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-09-28Bump version to 4.3-11cp-4.3-11Andras Timar1-1/+1
Change-Id: I4886dfbcf957bceef62f87b07c41aebb6be887cb
2015-09-28Resolves: tdf#88402 remember sort "has headers" at anonymous database rangesEike Rathke3-0/+29
(cherry picked from commit 33255f974fc712b9e9e2965a350c65a2195a7ae6) Reviewed-on: https://gerrit.libreoffice.org/17140 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 83d0bb881f7e9a9fb95332a075e577048ae6773f) Change-Id: I4a126f40589fd401f3a63f74be5e86e3df947ef6
2015-09-28tdf#79018: Prevent line break as footnote labelOliver Specht1-2/+9
footnote labels must not contain line breaks Reviewed-on: https://gerrit.libreoffice.org/18292 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> (cherry picked from commit 089d7f53ea232972961c14706a54187f075fa973) Reviewed-on: https://gerrit.libreoffice.org/18297 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit adf39dbade8652ceca9007484bfa20f04c5ebec0) Signed-off-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit ab6a83bc4cb13976ed2971502c2a4cc827151a7f) Conflicts: sw/source/core/unocore/unoftn.cxx Change-Id: I00d334197b960c4ed17fdee3ea8a1c734cbfa4c1
2015-09-28tdf#92505 vcl: fix substituting missing glyphsMiklos Vajna1-4/+2
Commit a6b00d16eb27a5e7e31c721671001a909ecef960 (Related bnc#822625: Cache FontEntry with the original FontSelectPattern.) and the follow-up 16a62079018aea0e72636bdb00576487b4e830b9 (Oops, this reference can't be const., 2014-05-28) changed the font cache key, so that it's directly what was the argument to ImplFontCache::GetFontEntry(), which leads to missing glyphs in the bugdoc, e.g. the 4 check mark characters are rendered as a check mark only in the DejaVu Sans case on my machine, the other 3 cases result in placeholders. Fix the problem by changing back the key to aFontSelData, which is possibly modified in ImplFontCache::GetFontEntry() before used as a key. Change-Id: I80eb4ba0f986a10100b6ae421d1346f235ce83b7 (cherry picked from commit e047caf4bb461fb168d9fe08228c049938ca1698) Reviewed-on: https://gerrit.libreoffice.org/18561 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 5357a18eb3bb8bf6f795d852b942b80c9080f0f3)
2015-09-28tdf#93097 oox: fix import of metadata from non-relative stream pathsMiklos Vajna3-1/+18
Commit ef2668bad976f1fbb70759887cafd35ea7833655 (PPTX import: fix missing document metadata, 2014-08-28) implemented metadata import for the PPTX filter, but in case the metadata stream is not an existing one, then OHierarchyHolder_Impl::GetListPathFromString() invoked by OStorage::openStreamElementByHierarchicalName() throws. The bugdoc is generated by a 3rd-party tool that always starts the stream path with a slash, and MSO seems to just ignore that: so let's do the same to be able to open the document. (cherry picked from commit 46cf9bb76b29f2bfa6639d9aaf4f26dee365bc0c) Conflicts: sd/qa/unit/import-tests.cxx Reviewed-on: https://gerrit.libreoffice.org/18372 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> Conflicts: sd/qa/unit/import-tests.cxx (cherry picked from commit 1b635af9c337b929737d2ed807c9decc2ff6643b) Conflicts: sd/qa/unit/import-tests.cxx Change-Id: I6c0715adeb19b9055669f6a45055415dd2c44e28
2015-09-28tdf#91554 OK button should be disabled initiallyMaxim Monastirsky1-0/+1
Regression of eb505c259d0d7bd05d1bb5be5a14ad8613c2a9c7. Change-Id: I4623c41617d92a808513f18154a7531e6dfd5463 (cherry picked from commit fdbad6761f5634982bb7b837bb145b3bd580832b) Reviewed-on: https://gerrit.libreoffice.org/18371 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> (cherry picked from commit e952d86183eeb5852aefcf341ba25d039447818a)
2015-09-28Resolves: tdf#91060 don't crash on loading certain pptxCaolán McNamara1-1/+1
Change-Id: Ibf32ef644222a59c5fe6a9736ff64739ab24b74f (cherry picked from commit c874bf3f7bd6bbe31416506d9b4213bcbbbac4fa) Reviewed-on: https://gerrit.libreoffice.org/18227 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk> (cherry picked from commit 5d210fba65ec1cc145366117da5fecd349d4fada)
2015-09-28tdf#93830 txXfrm offset workaround works in rounded rectangle case as wellAndras Timar3-1/+27
Reviewed-on: https://gerrit.libreoffice.org/18226 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit cc88a88caad591270760d947848ad0a032d32bdb) Conflicts: sd/qa/unit/import-tests.cxx (cherry picked from commit ce4a43f6be7ad71acc9ab513cc5db20d5cf5f36a) Conflicts: sd/qa/unit/import-tests.cxx Change-Id: I5d8df5c0d55e8dfd7c978b16b2b220c127f3dac9
2015-09-28bnc#930818: allow for EMF+ record padding up to 11 bytesMike Kaganski2-17/+30
When an array of EMF+ has extra bytes in the end, that are less than 12, they should not be treated as another EMF+ record, but simply ignored. Conflicts: cppcanvas/source/mtfrenderer/emfplus.cxx Change-Id: I34701c00916812c8a6a4b69730f602da81719b35 (cherry picked from commit a427022a74163ad8711c66ddd848211e87b05197)
2015-09-28tdf#92997 obtain a date/time edit format according to field valueEike Rathke4-16/+70
Bloody workaround hack for the fact that Chart does not handle category/x-axis times internally and is not able to pass its own axis numberformat to its own databrowser editor. (cherry picked from commit 711b34d590e659ed754f7c57b3b5eb12acfbbd78) Conflicts: chart2/source/controller/dialogs/DataBrowser.cxx Change-Id: I016695ad0104366c0bb636b449a2014ade31aca3 Reviewed-on: https://gerrit.libreoffice.org/17630 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 3af71f7e35876f12f182cc6ebc41981e6279a1fd)
2015-09-28Resolves: tdf#58838 do not use collation for Equal/NotEqual operatorsEike Rathke5-20/+34
Unicode collation ignores control characters and other specific characters, see http://www.unicode.org/charts/collation/chart_Ignored.html and thus is not suitable to be used for Equal/NotEqual operators. (cherry picked from commit 1e5e7b9323c3321a380edf86097ccc2e3f0a7a7a) Conflicts: sc/source/core/tool/interpr1.cxx Change-Id: Ib84713e1da59d92e07bc974d93b6def8217bb067 Reviewed-on: https://gerrit.libreoffice.org/17238 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit faf178d59cf9793e8b9a1b3c4b8afcc96bd72dc6)
2015-09-28tdf#76649 Skip NaN initial values for min and maxLaurent Balland-Poirier1-2/+6
min and max were initiated as aValuesX[0] which could be NaN test i before evaluating aValuesX[i] Change-Id: I229f4c8f8fda54684e1c817ea7da06fd87eb79b9 Reviewed-on: https://gerrit.libreoffice.org/17773 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 9a4bbe65829ad1e1dcd2a28e8b25422da0eeb4af)
2015-09-28Resolves: tdf#93358 resync attribute pattern that may have changedEike Rathke1-1/+13
Change-Id: If3ce8feec940c7212fe467f39db868630522b17e (cherry picked from commit f089de7dc5c367a3123129b08a9050b3bacc4eba) Reviewed-on: https://gerrit.libreoffice.org/17766 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 8006e35e934bd2c24c377d39f72f810e5c69ed59)
2015-09-28Resolves: tdf#92448 check for numeric '.' only if sheet separator is '.'Eike Rathke1-1/+1
Change-Id: I427da08eed3fc5daed2bac4d588b66a3f03fd28c (cherry picked from commit 2fd3560e0815b547ada7d7f6557857fe3c8678ba) Reviewed-on: https://gerrit.libreoffice.org/17245 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 2f9469cf81b22351e8c423bfda6387f70d873c4d)
2015-09-28tdf#78111 Sane preferred width for the color mode comboboxMaxim Monastirsky1-0/+1
Don't let long strings (in some languages) make it request so much space. Change-Id: I5b2af9d7cc54d1ba772ae75971cfff27bee31a05 (cherry picked from commit d2f218f54369c6d7fb38d0b701aa86fdf5aae843) Reviewed-on: https://gerrit.libreoffice.org/17778 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 987d1153d75b9be6d631783cb22b661bd3ab2582)
2015-09-28tdf#44621: Fixed drag and drop in OSX 10.7+mmeof22-6/+16
Change-Id: I8f9e1e9205dd9611f4bc1ef47c8cde2e284b403f Reviewed-on: https://gerrit.libreoffice.org/17461 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> (cherry picked from commit 9f3f0f40975a1dad8273ee8e02189a3c4a138f4e)
2015-09-28Resolves: tdf#86024 do not attempt to shorten numeric value outputEike Rathke1-22/+30
Regression of 087a79db1272858f107656c5ca3c6efb45680986 Change-Id: I903e05234882c79e6da6499cb17e16fd7226f91c (cherry picked from commit 2a06a052b920f696a794c2fb847fce63038220e9) Reviewed-on: https://gerrit.libreoffice.org/17637 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 73b8b634b886781372ba77f7bc729457deebd453)
2015-09-28tdf#79741: Macro with Find @ Replace crash CalcJulien Nabet2-4/+4
0x00002aaaaf4bd163 in SfxItemSet::GetItemState (this=0x0, nWhich=26182, bSrchInParent=true, ppItem=0x7fffffff1730) at /home/julien/compile-libreoffice/libreoffice/svl/source/items/itemset.cxx:422 422 SfxItemArray ppFnd = pAktSet->m_pItems; (gdb) bt 0 0x00002aaaaf4bd163 in SfxItemSet::GetItemState(unsigned short, bool, SfxPoolItem const**) const (this=0x0, nWhich=26182, bSrchInParent=true, ppItem=0x7fffffff1730) at /home/julien/compile-libreoffice/libreoffice/svl/source/items/itemset.cxx:422 1 0x00002aaaaf4bd306 in SfxItemSet::HasItem(unsigned short, SfxPoolItem const**) const (this=0x0, nWhich=26182, ppItem=0x7fffffff1730) at /home/julien/compile-libreoffice/libreoffice/svl/source/items/itemset.cxx:463 2 0x00002aaacd9902c9 in ScCellShell::ExecuteEdit(SfxRequest&) (this=0x312fe10, rReq=...) at /home/julien/compile-libreoffice/libreoffice/sc/source/ui/view/cellsh1.cxx:1032 See https://gerrit.libreoffice.org/#/c/17603/ for details Thank you Maxim! Change-Id: Ie4cf31e3764c02f335830c59674a94acd6c209df Reviewed-on: https://gerrit.libreoffice.org/17603 Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> Tested-by: Maxim Monastirsky <momonasmon@gmail.com> (cherry picked from commit 958ec9ccfe3bbe54369f9e9105c10beae80d9548) Reviewed-on: https://gerrit.libreoffice.org/17615 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit ed09c7638e3ea40fc40b51af5cf0b2018c5c78c9) Reviewed-on: https://gerrit.libreoffice.org/17649 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit d29b9d1da867245c08928579d4fd5efffc7eca57)
2015-09-28Resolves: tdf#93080 short day name and month name may interfereEike Rathke2-6/+52
(cherry picked from commit c7d66949beecab92dc8f1380c54751710aa0b7a2) Conflicts: svl/source/numbers/zforfind.cxx Change-Id: I088633e4cff278e1add8eeea8828f9ba9c9fb140 Reviewed-on: https://gerrit.libreoffice.org/17546 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit d81179c7abeb0601a545e5512e5311b84cb3816a)
2015-09-28tdf#76845: wizards: fix Web wizard XSLT deadlock on WindowsMichael Stahl1-1/+1
The web wizard runs some XSLT over the exported file. It registers a handler that is called when the output stream is closed, and this Process.streamClosedHandler() calls terminate(), which causes the deadlock, because it wants to join() the extra XSLT thread but the handler is actually called from the XSLT thread itself. Fix that by moving the terminate() to another function that runs in the main thread. It does not deadlock on Unixes because osl_joinWithThread() actually detects an attempt to join the calling thread and returns early. Change-Id: Ia176562fa28b97c7e8956c1e8975c9aa6ee23236 (cherry picked from commit 62de18ab98289fc80984299f13ad71e4a4452ea3) Reviewed-on: https://gerrit.libreoffice.org/17514 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 07a659e6e60a25d5c6ce0dd58a60879df292d885)
2015-09-28tdf#92693: ReportBuilder: MINUTES() rounded to nearest for fractional minutesJulien Nabet2-0/+18
... instead of the correct truncation. Thanks to Lionel for the idea of the fix and his patience for newbies like me! Change-Id: I9864aeb08de2c054ee47aa6b04a31bdb4e20dc8c Reviewed-on: https://gerrit.libreoffice.org/17050 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Eike Rathke <erack@redhat.com> (cherry picked from commit 8a12cb1a98186deaedf21446592e2aedbda52e80)
2015-09-28tdf#90046: RTF import: ensure that a run is started before \footnoteMichael Stahl3-0/+18
Avoids crashing with empty context stacks. (cherry picked from commit a61fd02c819433a1206b3b3e61017ba2d0d3d467) Reviewed-on: https://gerrit.libreoffice.org/17333 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 7e086276cd27bac93040bfd7ff5f5dbdfc0b9f86) Conflicts: writerfilter/source/rtftok/rtfdocumentimpl.cxx Change-Id: I0ee8b457fdbb19b55f5c15876b7253680cde6e23
2015-09-28coverity#1311944 Logically dead codeCaolán McNamara1-1/+1
for the record its a SwFormatChg we get here at the crash time regression from commit 7de992bcc66c973bb6b247184cac38f01cd1104a Author: Caolán McNamara <caolanm@redhat.com> Date: Mon Jul 13 12:38:18 2015 +0100 fix a11y crash seen on close of tdf#92573 its not the reported crash, which has "gone away" which might be a duplicate of tdf#90502 the switch only handled RES_TITLE_CHANGED and RES_DESCRIPTION_CHANGED so if its anything else, e.g. OBJ_DYING, then don't attempt GetNoTextNode Change-Id: I290d6e633811423c3acc198aba7a60943518ec4a (cherry picked from commit 34c0b8869784cb44a516c97213ef24566a4ed111) Reviewed-on: https://gerrit.libreoffice.org/17138 Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit a9354ec39705da856ed46b3837bbff8a34317fe3)
2015-09-28check annotation caption pointers, blind fix for rhbz#1242099Eike Rathke1-3/+6
Apparently there may have been situations when the caption or its shape could not be obtained for whatever reason. (cherry picked from commit 47d90af52a548429224c38b5c58a70116e0f7907) Conflicts: sc/source/filter/xml/xmlexprt.cxx Change-Id: Ie9b97d4b3999cb4645bb6b8b688b3666cfd71ccc Reviewed-on: https://gerrit.libreoffice.org/17222 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 27f3821c44b7d326c116183fb063c9254d55ccc8)
2015-09-28Resolves: tdf#92767 use ISO 8601 for internal date string representationEike Rathke1-0/+4
Change-Id: I481bf3295feb64827de2122234a9300d0b8ced40 (cherry picked from commit 3e17ed1fc2845da5a279d21ffa3ea51d637e515e) Reviewed-on: https://gerrit.libreoffice.org/17173 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com> (cherry picked from commit 8bd758740c8d5e2da3125c6eb05fdd2bd07faf8b)
2015-09-28Resolves: tdf#63955 clip 19km long line to some sane limitCaolán McNamara1-18/+53
Change-Id: If9757a5fa2bb93b56b9cf9f566972f687a4a3a45 Reviewed-on: https://gerrit.libreoffice.org/17036 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit d1046e7c3f66e5f3384ee1ef534ef28346702fc6) refactor ensuring polygon has at least a line in it just split that out into a standalone function, no logic change Change-Id: I061d5d716b3fc2a9fb6385e7fb249ce300752130 (cherry picked from commit 83b3349bb94d4c48db4da8fe5f8fdb9b19e633b9) Reviewed-on: https://gerrit.libreoffice.org/17074 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com> (cherry picked from commit f9f5f2279ab96c824e347275b5d22b6564ca4a63)
2015-09-28fix a11y crash seen on close of tdf#92573Caolán McNamara1-0/+3
its not the reported crash, which has "gone away" which might be a duplicate of tdf#90502 the switch only handled RES_TITLE_CHANGED and RES_DESCRIPTION_CHANGED so if its anything else, e.g. OBJ_DYING, then don't attempt GetNoTextNode (cherry picked from commit 7de992bcc66c973bb6b247184cac38f01cd1104a) Change-Id: I642beb66613481cbc7ee18647f0204a67d670a84 Reviewed-on: https://gerrit.libreoffice.org/16991 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com> (cherry picked from commit b3780aab0736776866fc4d6c9453871e30557d01)
2015-09-28tdf#47832: Pictures on buttons, created in forms, gone after reopening formZolnai Tamás2-0/+26
When image is set to a Button control the correspoding graphic object lives only temporarily, after the graphic is copied from the graphic object it's destroyed so save can't find it by graphic ID. Use the same solution which works for ImageControls: use a graphic object member for the control, so save can find it. (cherry picked from commit 70f152983f3425a77df2f65b4798417640d47b76) fix windows build (from Noel Grandin) (cherry picked from commit 4c5498ec5ee478e27fd62bdcf9de1208c692422c) Conflicts: forms/source/component/clickableimage.cxx Reviewed-on: https://gerrit.libreoffice.org/17092 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com> (cherry picked from commit c22ac6d4a2d8b9e8875060c4468acb69eb35521d) Conflicts: forms/source/component/clickableimage.hxx Change-Id: If99a3efc4727a07df9d2daaefbdacc9565920005
2015-09-28tdf#92404: Web Wizard - no result / crashJulien Nabet1-2/+2
Fixes Traceback (most recent call last): File "/home/laci/m/bibisect/lo-linux-dbgutil-daily/opt/program/wizards/web/WWD_Events.py", line 249, in addDocument oLoadDocs = self.LoadDocs(self.xMSF, self.xUnoDialog, files, self) TypeError: __init__() missing 1 required positional argument: 'parent_' and: Traceback (most recent call last): File "/home/julien/compile-libreoffice/libreoffice/instdir/program/wizards/web/WWD_Events.py", line 252, in addDocument oLoadDocs.loadDocuments() File "/home/julien/compile-libreoffice/libreoffice/instdir/program/wizards/web/WWD_Events.py", line 934, in loadDocuments doc.cp_URL = FileAccess.connectURLs(files[0], self.files[i]) NameError: global name 'files' is not defined Change-Id: I737117a6981e541f12453bb9d9b2680f5fb79142 Reviewed-on: https://gerrit.libreoffice.org/16756 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 2f0d1a23759c1b973593bfba642d01fb3df3c269) Reviewed-on: https://gerrit.libreoffice.org/17035 (cherry picked from commit 903295a5a0445b45f3866b691e58be522354ec05)
2015-09-28tdf#89031 remove agressiveness from Calc function suggestionsWinfried Donkers2-34/+20
Change-Id: I7751a038f8482addc0e45c0461666bbd1c959d12 Reviewed-on: https://gerrit.libreoffice.org/16478 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit f3d748937a177cbbc0033bcf54d0d0fd57a1b409) Reviewed-on: https://gerrit.libreoffice.org/17009 Reviewed-on: https://gerrit.libreoffice.org/17013 (cherry picked from commit b0adce1f6a0e45cfa6fa7f827144d3aebcd5aac8)
2015-09-28the last condition is "all other numbers", not the third, tdf#92457 relatedEike Rathke1-3/+3
(cherry picked from commit b3c11e2b3ef4bad8c2b5f92ba00ac805fb68786f) So we'll properly strip the "value()&lt;=1.79769313486232E+308" condition that 5.1 will write. This will not enable the handling of the style, but at least it is fed correctly as intended to the number formatter. Change-Id: Ic9571d938c4a8837c5712bafbfb2ebf9f32011df Reviewed-on: https://gerrit.libreoffice.org/16990 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 05988bf34c6f1583a6a778c00fd948c0855ea492)
2015-09-28Resolves: tdf#84762 collect all recalc-always cells before setting any dirtyEike Rathke1-6/+14
(cherry picked from commit bf35419b68d7f100a634572236f7d593638981c8) Conflicts: sc/source/core/data/documen7.cxx Change-Id: I38f69bcbb9eb550fb97b0f84bc0cb486863060b4 Reviewed-on: https://gerrit.libreoffice.org/16872 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 2a9409686c976f53b75c80fcde4177f829924747)
2015-09-28tdf#90611 DOCX import: fix missing paragraph style on footnotesMiklos Vajna5-1/+28
One one hand, a problem since commit 330b860205c7ba69dd6603f65324d0f89ad9cd5f (fdo#68787 DOCX import: handle when w:separator is missing for footnotes, 2013-09-04) was that the type attribute from <w:footnote w:type="separator"> resulted in two ooxml:CT_FtnEdn_type tokens, ignoring too many paragraph ends for footnotes, which resulted in missing paragraph style on footnotes. On the other hand, fixing the first problem showed that it wasn't correct that commit 9389cf78e304a5a99bcf1745b9388e14ac36281a (cp#1000018 RTF import: empty para at the end of footnote text got lost, 2013-11-15) unconditionally removed the RemoveLastParagraph() call in DomainMapper_Impl::PopFootOrEndnote(). It turns out that RTF and DOCX have different semantics here, the footnote is always within a <p></p> pair in DOCX, while in RTF a \par at the end of a footnote means an empty paragraph. Fix that by conditionally restoring the removed RemoveLastParagraph() call. (cherry picked from commit 519b34300f73b1e08f6194d6ba49d4fc010cf186) Reviewed-on: https://gerrit.libreoffice.org/16879 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 884dd05b7c22db2b51bb2c34e81561c43b86b225) Conflicts: sw/qa/extras/ooxmlimport/ooxmlimport.cxx writerfilter/source/dmapper/DomainMapper.cxx Change-Id: I33020ac761c94addfec8164a17863565e4453b07
2015-09-28use ScMatrix::IsValueOrEmpty() on math operators Mul/Div/Pow, tdf#91453Eike Rathke3-5/+21
... which aren't implemented at ScMatrix yet. Using IsValue() worked when errors were not propagated, and before that when errors were propagated because ScMatrix didn't have empty elements but instead was initialized to 0.0 Change-Id: Ib9c6d34f2e6a68e483b606923cbcc41a3c1d2f51 Reviewed-on: https://gerrit.libreoffice.org/16799 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit d499e540b17835f07fa4ed3e74103471aa5dfb47)
2015-09-28tdf#89698 DOCX import: inline picture should have no spacingMiklos Vajna2-6/+6
Commit 3d7e168a2a43c2414b0633379102ddb29437e75b (n#783638 DOCX import of wp:inline's distT/B/L/R attributes, 2012-10-11) was about a picture that had non-zero spacing in LO, but zero in Word. The hope was that the problem is just that the value is not imported. Then commit a88ac708403c03d0f950f09ec29c0d5a1e5a85b4 (fdo#63685 wp:inline's distT/B/L/R is in EMU's, not twips, 2013-04-19) was about a picture that had so large spacing that the picture become invisible. Fixing the unit of the spacing value made the picture visible again. What was missed is that this value is just stored in the doc model, but layout in Word doesn't use it at all till the anchoring is as-char. Given that in LO as-char anchoring supports real spacing, just don't import these values to have the same layout. That's what the WW8 import does, too. (cherry picked from commit 9781a8786da5c32e2250cbe1ae97bd10f84f39bb) Reviewed-on: https://gerrit.libreoffice.org/16786 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit e3afafb236e273516b94bf6ed3fc9de403843245) Conflicts: writerfilter/source/dmapper/GraphicImport.cxx Change-Id: I1244269e06c5d190e8340349ddc12ae7b0572a4d
2015-09-28Resolves: tdf#92467 crashes with empty history list on pressing downCaolán McNamara1-4/+6
regression from some 16->32 bit listbox limit changing Change-Id: I045eeef935afed4154fe11bfd11916c2d6a722e9 (cherry picked from commit c51d5706205cd0282c07d778ffac5f265c3eaf5f) (cherry picked from commit a8ddd3b0280baa1b770f439fbbca9ff073faa16b) Reviewed-on: https://gerrit.libreoffice.org/16699 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk> (cherry picked from commit db6257d009facfa7f75e34f40e4d1fd5df372464)
2015-09-28tdf#91641 adjust cursor when deleting preceding charactersJustin Luth2-4/+20
IMDeleteSurrounding is used by input methods to take multiple keystrokes and convert them into a special character. Then the composing keystrokes are removed. Before this fix, the cursor placement was not adjusted, so the special character was inserted in the wrong position and if 3+ keystrokes were involved, the wrong characters were deleted. Also fixes "editLine should have focus on accessibleText init." The first time an accessibleEdit is created, it didnt recognize any focused text when editing in the "Input Line". Change-Id: Ib2608c46bba1c84bb49aa29619a004c125a3bf98 Reviewed-on: https://gerrit.libreoffice.org/16637 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 9a27cd31cc8d8cf0b524cf3a3af55f51b1c1e21c)
2015-09-28tdf#44419 in second reference part stop number parsing at separatorEike Rathke1-0/+12
Change-Id: I70218bc41df0d56ab42d652aa7ac51733dc06f4b (cherry picked from commit 71dba79c1c84d693a59c53a8965caef0ddd1c2cc) Reviewed-on: https://gerrit.libreoffice.org/16496 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 7c31ae8f35af4e620080d3d0cb4801c76c418ae3)
2015-09-28Resolves: tdf#83365 push proper references in INDIRECTEike Rathke5-4/+101
... that take relative/absolute addressing and sheet 3D flag into account to be fed to reference extension via range operator. (cherry picked from commit fb6dd2a73074b9695bd8ddf7ba40f1819b03024e) properly inherit relative and 3D flags when extending, tdf#83365 related Commit 194e9f9bae28bdf22a9ed4779c1656ee693f3302 oversimplified things. (cherry picked from commit e503addfbbe45efe1a3c06392c66fb79c3c72d07) ea6a84c4a7be49af036690afbb1512ae2c1045a2 Reviewed-on: https://gerrit.libreoffice.org/16352 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit f344397f13d4596fcd6253523268ffdcf4bb7e8e) Conflicts: sc/inc/refdata.hxx sc/source/core/tool/refdata.cxx Change-Id: Iabe13ae384577e2d71ca87af6482ddccbf7ad0ac
2015-09-28tdf#92061 RTF import: fix missing body text after footnoteMiklos Vajna3-0/+13
A missing seek in the \footnote handler could result in a situation that the missed text contained a "{" but not its matching "}", which resulted in the parser terminating earlier than the end of the document. (cherry picked from commit 7b08304b55cf2284a3c583426c60baef618ba206) Conflicts: sw/qa/extras/rtfimport/rtfimport.cxx Reviewed-on: https://gerrit.libreoffice.org/16501 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 326ca9e0710d17274eb0a6cdc0d95d4f933784f0) Conflicts: writerfilter/source/rtftok/rtfdocumentimpl.cxx Change-Id: I6df476b2d6397dfa918111b33854dc2f95fbe81d
2015-09-28Resolves: tdf#31577 volatile lookup ranges must not be cachedEike Rathke1-1/+7
Change-Id: Iac8574329c8c8e0bc0ac956993ccdd085372a6cc (cherry picked from commit 5e83f49e5d62587f427ad416f5188ce81506c05b)
2015-09-28tdf#93071 Remove trailing zeroes of scientific in General formatLaurent Balland-Poirier1-1/+1
(cherry picked from commit a6fbbfd2f42f5361d53bd4b330a507d94d636923) Change-Id: I408bab7edf58020fc1ec541dc940c84d387bb56c Reviewed-on: https://gerrit.libreoffice.org/17770 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit 65afcd990012d898a13d84a49116b877e14d6386)
2015-09-28tdf#91969: Parts of paragraph border is missingZolnai Tamás1-2/+2
...when border is around more than one paragraph Regression from: 16f637dab3c1b5f7ac9eacf2c57347800d3fdf09 Change-Id: Iea9455dd7cc3c301c3e2d5d7903c98d98e515595 (cherry picked from commit 8d933132ab01f0070225fae6cf704c9a1982e8f8) Reviewed-on: https://gerrit.libreoffice.org/17996 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit c760ce9157a935e7c517a4a6607e2aefc82d2e58)
2015-09-15convert pStatus to vector and use at to check offsetsCaolán McNamara2-11/+11
(cherry picked from commit ea70088895ed45dc60abf18319acc1b4fa3018dd) Change-Id: I5186f6a65bb9d5ed8a0d1ab1d71f7e2c13865411 Reviewed-on: https://gerrit.libreoffice.org/17695 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com> (cherry picked from commit 92c3a5b80ac575e1c538894b7c1a4170093785b5)
2015-08-18tdf#89806 : Fixed background fill export for table cell.Sushil Shinde2-1/+15
1. Table cell properties were exproted empty if file saved as .pptx file. 2. Now added code to export table cell fill properties in 'tcPr'(Table cell properties xml tag) Reviewed-on: https://gerrit.libreoffice.org/14734 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com> (cherry picked from commit 63442ec636d637e05d7d585817df531dbbeb96d9) Conflicts: sd/qa/unit/export-tests.cxx Change-Id: Ica6005a65c7eefb8629c808f2a54764f98badb11
2015-07-14Bump version to 4.3-10cp-4.3-10Andras Timar1-1/+1
Change-Id: Id5c6c114a2ba1e5a55cc4edf07861ebb3177f507
2015-07-14Add HKEY_CURRENT_USER registry integration.Michael Meeks4-7/+12
It seems rather odd that we dump this to a file and parse again to me. Conflicts: configmgr/source/components.cxx instsetoo_native/CustomTarget_setup.mk scp2/source/ooo/common_brand.scp Change-Id: Ia32ba9ff3e7878d40032bd7d10fba2c143d11757
2015-07-13fix a third emf crashCaolán McNamara2-1/+3
Change-Id: I3b5d0daf05e3272d2afa0da84ff0b1f8d5c965a4 (cherry picked from commit 173fd90387e8bb7f33c2608628f12c7f772f0277)
2015-07-13emf: fix another hangCaolán McNamara2-2/+2
Change-Id: I971ba5f422827f3b8fcdb86c447fc48415225eca (cherry picked from commit fe20502c86ef6156a54bb37ba2560c8b64d129a4) Reviewed-on: https://gerrit.libreoffice.org/16979 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com> (cherry picked from commit 776618f628ea6302374c90722c3dbd0a6dac1c19)
2015-07-13emf: test for empty polygonsCaolán McNamara2-11/+15
Change-Id: I3c8896230e3d48a37f4b8d702b0f673e44f45ba4 (cherry picked from commit 7df4d8544c6b12e31bcb81d9389d03ae7c11bfea) Reviewed-on: https://gerrit.libreoffice.org/16974 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com> (cherry picked from commit bd7b37b8fcf193e2ce20a84ac68bdb22ed8a9ade)