summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-07-15tdf#91324 GSoC adapt struct tm correctlyWastack
Change-Id: I645ebe888186e550b95dd072e063260bc69aa178 Reviewed-on: https://gerrit.libreoffice.org/27120 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2016-07-15loplugin:unnecessaryoverride in mysqlcStephan Bergmann
Change-Id: I7c8ecc8f675abf4495c991bdb680e31b59421e26
2016-07-15Simplify dynamic_cast followed by a static_cast.Jan Holesovsky
Change-Id: I4bf7f85397f83554f511f80621b5086cda6ab1a9
2016-07-15remove excess whitespaceStephan Bergmann
Change-Id: I11d775eed216e7d8a59d0b891dffcf191780aa9b
2016-07-15loplugin:commaoperatorStephan Bergmann
Change-Id: I7ba83b999b3b12411348c21cabcd47b8ad9c4034
2016-07-15tdf#100726: Improve readability of OUString concatenation in basic modulenadith
Change-Id: I96c3215cf9f8932127e681aaaaee649774cac2e4 Reviewed-on: https://gerrit.libreoffice.org/27229 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-15tdf#100726: Improve readability of OUString concatenations in basctl modulenadith
Change-Id: Iad8e3a2b74062640660c0ea8121dc6a5d043c080 Reviewed-on: https://gerrit.libreoffice.org/27228 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-15tdf#100726: Improve readability of OUString concatenation a bitnadith
Change-Id: I6c51b9004089721f199bc35b1e5c13df36847f02 Reviewed-on: https://gerrit.libreoffice.org/27227 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-15starmath: Make AdjustFontDesc() precede Prepare()Takeshi Abe
because what Prepare() does depends on both nFontDesc and token of the SmTextNode. Change-Id: Ib7f8c408eb8f95a10f27ccbd3d80cdd0d6ea6d56 Reviewed-on: https://gerrit.libreoffice.org/27210 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2016-07-15tdf#62525 vcl: use cow_wrapper for PPTCharPropSetXisco Fauli
Change-Id: I506688a495ac145a25d2094be48ea53497d1e8a8 Reviewed-on: https://gerrit.libreoffice.org/25914 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-14strip second parameter from ISOWEEKNUM if literal double != 1.0Eike Rathke
For other arguments convert to WEEKNUM_OOO, which now can be saved as ORG.LIBREOFFICE.WEEKNUM_OOO. Change-Id: I63fd3df1ec4ccaa535a1437200854d8734544a2c
2016-07-14store WEEKNUM_OOO as ORG.LIBREOFFICE.WEEKNUM_OOOEike Rathke
Now that the previous two releases can read it. Change-Id: Ie04c7b0fd94f5906b678d738370e4fc0696da79c
2016-07-14let FormulaTokenArray::RemoveToken() return the actual count of tokens removedEike Rathke
Change-Id: Iebf654e7b4c682036b4ff334298948557b755eac
2016-07-14re-add FormulaTokenArray::ReplaceToken() that was removed as unused, grml..Eike Rathke
with 4ff5a5558472beee85eb1234dcc2aa2ed9000f6c Change-Id: Id99c3ae74515f24c55a3734698c560dcac8bacd9
2016-07-14add missing ORG.OPENOFFICE.* functions to XclFunctionInfo saFuncTable_OOoLOEike Rathke
Change-Id: I9b32db43f84efc314ec4c715e9299ca2301c8120
2016-07-14yet more functions to save with prefix and namespace to OOXMLEike Rathke
MULTIRANGE, GOALSEEK, EASTERSUNDAY, CURRENT and STYLE are LibreOffice / OpenOffice.org only and need a _xlfn.ORG.OPENOFFICE. prefix and namespace when saved to OOXML. Change-Id: Ie5d4eb14b1ec958f9ebec5f149d0d1d7b4dd644e
2016-07-14vcl headless: ignore visibility in GetClientSize()Miklos Vajna
This fixes the missing-invalidation problem outlined in commit 22023b104cd1e024aecc28a6161bea519a584407 (vcl lok: fix missing paints due to zero-sized windows, 2016-07-12) also in Writer, not only in Impress. Starting text edit, doing a change, and ending text edit now results in the expected invalidations. Ignoring visibility seems to be a better fix for the missing paints. This way the headless case doesn't hit the corner cases of 0x0-sized windows. Also, the gtk vclplug's GetClientSize() only returns 0x0 in case the underlying window is disposed or it's minimized, but it does hand out the size before Show() is called, so now the headless backend is in sync with that. Change-Id: I78698cbfce954c8c593d279ab057a87cfbe87260 Reviewed-on: https://gerrit.libreoffice.org/27224 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-07-14sc lok: add more toolbar itemsHenry Castro
.uno:SortAscending .uno:SortDescending Change-Id: I3d307b43fb18ffce75b00a0b919b63320bf6db05 Reviewed-on: https://gerrit.libreoffice.org/27223 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com>
2016-07-14Avoid undefined behavior when converting (large) double to size_tStephan Bergmann
Change-Id: I4cc487a21177efed26a10809dbb6126b504fce6c
2016-07-14save ERRORTYPE as _xlfn.ORG.OPENOFFICE.ERRORTYPE to OOXMLEike Rathke
Was wrongly saved as ERRORTYPE without _xlfn. prefix and namespace. Be able to still read ERRORTYPE. Change-Id: Ia028fe06d930f60b4260adf589ee3190b90ea099
2016-07-14Remove outdated commentsLaurent Balland-Poirier
All these features have integrated in LibO 4.2 by Tomaz Vajngerl See tdf#40317 Change-Id: Ie71b9d40102be09f65f19f8241f66a8c58cd0a75 Reviewed-on: https://gerrit.libreoffice.org/27216 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2016-07-14there is no "FormularProperties", math is called "FormulaProperties"Michael Stahl
Change-Id: Id44ec98c5f2588918ee6253df9accc9d8ea94ab8
2016-07-14Improving uno.py code styleKenneth Koski
* Fixing pep8 violations * Improving comments, docstrings, and unifying coding style * Using functionality copied from six library for Python 2/3 compatibility * Using standard traceback formatting Change-Id: I62bd0e8513ffc59202163002fa4adea3d92572c3 Reviewed-on: https://gerrit.libreoffice.org/22848 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2016-07-14Blind fix attempt for some GCC versionsStephan Bergmann
Change-Id: Id84c3e8d2306f65ce3153de54efff8c13adcaf37
2016-07-14Disambiguate DeflateThread classesStephan Bergmann
...in package/source/zippackage/ZipPackageStream.cxx and sw/source/core/ole/ndole.cxx. The -fvisibility-ms-compat used under -fsanitze=* (cf. gb__visibility_hidden in solenv/gbuild/platform/com_GCC_defs.mk) causes the vtables of both classes to each be exported weakly from the package2 and sw libraries, respectively, and e.g. CppunitTest_chart2_export under ASan happend to erroneously use the vtable from sw in package2, causing a bogus error. Change-Id: I4e3ca96f1fd9a423b8df9fb1d9682dab8cb63192
2016-07-14tdf#100886: Show Default ShapesPanel when Shape is selectedSusobhan Ghosh
Make Shapes Panel only available for Draw Change-Id: Ib83a07333a0a3c53871184df313a79bad1576942 Reviewed-on: https://gerrit.libreoffice.org/27175 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-07-14Simplify dynamic_cast followed by a static_cast.Jan Holesovsky
Change-Id: Id4ab82db5e0ac95e26299730797a6eac0f925fb8
2016-07-14loplugin:passstuffbyrefStephan Bergmann
Change-Id: Ia53c80a4018ea99141cf6b4cd826d78210c5b2dc
2016-07-14[GSoC] Avoid reload of preset list in hatch tabRishabh Kumar
Change-Id: If2acb6df3c046de63b6b4069474e19fb87222a11 Reviewed-on: https://gerrit.libreoffice.org/27167 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-07-14Dutch example.xml - file added too.. - related: tdf#100352Cor Nouws
Change-Id: I8f16c5982a4ca10bebf0acd5de718b9dbdfe61d8 Reviewed-on: https://gerrit.libreoffice.org/27200 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-07-14tdf#62525 vcl: use cow_wrapper for ImpXPolyPolygonXisco Fauli
Change-Id: Ida272942d2fdb0a4a7d4906bbbc2423b459591ac Reviewed-on: https://gerrit.libreoffice.org/27170 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-14Upgrade libxmlsec to 1.2.22Miklos Vajna
No major changes for us, except that finally we bundle the latest upstream (but still heavily patch it). Change-Id: I6bcfcdf48ec5d25eb3f7b14c89838942b4a11b48 Reviewed-on: https://gerrit.libreoffice.org/27196 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-07-14starmath: Drop redundant SetLineColor() callTakeshi Abe
10 lines later the same code appears again. Change-Id: I06bccbb89e9bc3dd1339ca4f8c2482a2ee75c9f2 Reviewed-on: https://gerrit.libreoffice.org/27176 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2016-07-14chart2: avoid use of reallocJochen Nitschke
by using ctor initializer list, removing redundant realloc and other small tweaks Change-Id: I73775ef3677244de5c04e8743c43228d6cb3b008 Reviewed-on: https://gerrit.libreoffice.org/27174 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-14dtrans: remove commented-out codeThorsten Behrens
This was disabled since f87fd75f68148b9b5ddff7f62ce12c5ec1d7757a INTEGRATION: CWS dtransfix (1.11.136) Change-Id: Ica132a8b5ed13f5b70944c48e2ec5f6fdd88159e
2016-07-13these can be references nowCaolán McNamara
Change-Id: I4b58c362cd01387f05aa7bf70b3f47794fd5bc32
2016-07-13Remove SfxInterface::operator[]Mark Page
This operator can be confusing when reading the SfxSlotPool source Also this operator could return nullptr that SfxSlotPool doesn't check or require. Change-Id: I8d6009ea1b1f18e7022f1e7065c27f31feb02a6a Reviewed-on: https://gerrit.libreoffice.org/27185 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-13Resolves: tdf#98240 limit width of widgets of standard filterCaolán McNamara
and make the dialog non-resizeable because the ancient core impl can only have 4 rows visible at a time Change-Id: I3da6f7d8737c689f43904c40048748c00adcc3df
2016-07-13sc: fix build breakerJochen Nitschke
in commit 17722af09e527641db7c080013a94ea13f904377 nBOF changed to a static member but call was not adjusted Change-Id: Ibed65161f6825e5bf8d62a689352a2780670cb09 Reviewed-on: https://gerrit.libreoffice.org/27192 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-07-13tdf#100880 editeng spellchecking doesn't work sometimes...Caolán McNamara
believe to be a regression from commit 73f0b3bd5553c5d023d0a1dbfdc00836e2937961 Author: Matteo Casalin <matteo.casalin@yahoo.com> Date: Sat Dec 28 13:37:26 2013 +0100 xub_StrLen to sal_Int32 + some const and lets fix it the same way commit 9705fbc1119da91e73c00a2ec848565929eeb483 Author: Norbert Thiebaud <nthiebaud@gmail.com> Date: Sun Mar 2 12:19:16 2014 -0600 Fix editeng missing spellchecking redline on load (probably) fixed some other regression caused by that Change-Id: I52775aff50dcc634fd2f08eb685cc4ad9850c82c
2016-07-13Remove wrong, needless downcastStephan Bergmann
...from SaveInData (which has a virtual dtor) to MenuSaveInData, while the data could also be ContextMenuSaveInData (not derived from MenuSavaInData). Change-Id: I4928fa97ed7738516699f8e57f354ef0f334c4f1
2016-07-13Related: rhbz#1343766 a11y queries during dispose trigger listbox crashesCaolán McNamara
though not able to reproduce, I have an in-house complaint similar to commit f120abb446bf3f5230ed06a3b148654dde36bb94 Author: Caolán McNamara <caolanm@redhat.com> Date: Wed Jun 8 11:35:15 2016 +0100 Resolves: rhbz#1343766 a11y queries during dispose trigger combobox crashes except with a listbox in the bt Change-Id: Id31561e009a1f0ec9272a0e7216296e4017e5688
2016-07-13loplugin:singlevalfields in sc(part3)Noel Grandin
Change-Id: I7309e7e30bd892f0b1bd47c44cdbba79da5e5a9f Reviewed-on: https://gerrit.libreoffice.org/26686 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-07-13-Werror=maybe-uninitializedStephan Bergmann
Change-Id: I649c25c4da055a8e92260ac36144283f3d66aabb
2016-07-13Remove __cplusplus-checks from apparently-C++-only filesStephan Bergmann
Change-Id: I87e9ce45cf945e75e8140a9d4608da8abcddada6 Reviewed-on: https://gerrit.libreoffice.org/27187 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-07-13Make TooltipLabel default to PopupLabelSamuel Mehrbrodt
Because we often have similiar tooltip and menu names. Change-Id: I0ab66269b0b1f2985f23cf92289b3da69b6ddfd3 Reviewed-on: https://gerrit.libreoffice.org/27186 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-13Revert "bccu#1781: Impress/Comments - selection not updated on delete"Caolán McNamara
because selection is visually mangled in the editeng. type a word in calc, hit return, double click on the word, then end, hold down the shift key and move to the left, every second letter gets highlighted. The original bug is private so I don't know what problem it wanted to fix to see if there is a better solution. This reverts commit c8a09eb373b78d9936fb00ac98b6876eb8740c4d. Change-Id: Ib1b535aca98daaae210db4e3d62900fbc389e816
2016-07-13tdf#84635 - Slow layout of large tablesNoel Grandin
Based on suggestion from Aron Budea. And do something similar to most other places keeping vectors of weak references where the code looks like it will hold more than a few entries. Measurements: the 26 page file file takes 51s without my path 15s with this patch the 69 page file file takes 5m28 without my path 51s with this patch the 84 page file file takes 8m28 without my path 58s with this patch Change-Id: I8da94c525fc73ebd969e0343c6f074be4f0063b1 Reviewed-on: https://gerrit.libreoffice.org/27093 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-13chart2: inline local macrosJochen Nitschke
make use of Sequence initializer_list constructor and use makeAny to simplify further. removed unused includes Change-Id: I7d5b901a8bb375533c8ab945632dc8668806ca1a Reviewed-on: https://gerrit.libreoffice.org/27173 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-13chart2: remove unused ContainerHelper.hxx includesJochen Nitschke
remove using namespace ::chart::ContainerHelper; to match other uses Change-Id: I343086a6b7d70c84499b209680973431c7317219 Reviewed-on: https://gerrit.libreoffice.org/27184 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jenkins <ci@libreoffice.org>