summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2017-03-30remove type decorations on char literalsJochen Nitschke
they are only needed where type deduction fails. left them in defines for now. Change-Id: I7f002dd6bc7acc083c73b6c64076de6dd28d0b09 Reviewed-on: https://gerrit.libreoffice.org/35893 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-03-30Translate German comments (leftovers)Johnny_M
Translated leftovers in sc/source/core/tool/ and sc/source/filter/inc/ Change-Id: I4dff3d58a4ff5fb93d1fd3b6ab6695c868998e23 Reviewed-on: https://gerrit.libreoffice.org/35879 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-03-30The svError case is probably not worth a SAL_WARNTor Lillqvist
Also, sort the cases of that block in order of the enumerators. Change-Id: If46a4ff73d6f7d22bd54b74610eb6eebecd5aff0
2017-03-30Resolves: tdf#106838 icon set not visible in conditional formattingCaolán McNamara
Change-Id: Ibafaa487d39a69bc7c5c150361368614c0d9e004
2017-03-30Use StackVarEnumToStringTor Lillqvist
Change-Id: I4c8f6f8153c9b7e4625f24f613771af19aa5d5e4
2017-03-30loplugin:unusedenumconstantsNoel Grandin
Change-Id: I628a0114e56ec25926bd08d159c61cfecb719a1c Reviewed-on: https://gerrit.libreoffice.org/35854 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-30convert SvxDateType to scoped enumNoel Grandin
Change-Id: I5ce04f252642cb3a6c1b08ee22255f6c7b97f0f8 Reviewed-on: https://gerrit.libreoffice.org/35842 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-29LOK: Calc: limiting undo and add support for repair modeMarco Cecchetti
During collaborative editing changes can be undone regardless of who made them. This patch avoids this possibility and introduce support for repair mode, for cases where undo/redo of others' changes is intentional. Change-Id: I69fd435e96c4c675ffd1df81e936b5eae109daa0 Reviewed-on: https://gerrit.libreoffice.org/33223 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jenkins <ci@libreoffice.org>
2017-03-29LOK: Calc - images are not painted below row 1000Marco Cecchetti
The problem was not due to some missing tile invalidation: it was at the painting stage. There was no overlap btw the view range and the object range. Now images and shape are painted correctly. There is still problems with control forms and charts. Change-Id: Ib74e3bb79b444df21844086ae666fc206aa48906 Reviewed-on: https://gerrit.libreoffice.org/35215 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2017-03-29split ImportState enum into RtfImportState and HtmlImportStateNoel Grandin
and convert to scoped enum Change-Id: I23e44e78ce96ed5fc19374e3e069e1cdc2166a35 Reviewed-on: https://gerrit.libreoffice.org/35840 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-29Translate German comments in sc/source/ui/docshell/Johnny_M
Change-Id: Ic1a312677fac1b729538dd4463febac63e7204e5 Reviewed-on: https://gerrit.libreoffice.org/35343 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-03-29loplugin:unusedmethodsNoel Grandin
Change-Id: Ib008613fb06c82791c63d5b074a3e2ff1c3607a0 Reviewed-on: https://gerrit.libreoffice.org/35834 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-29Translate some German comments in scKatarina Behrens
Change-Id: Ic7e007992f473e532d3c0b70506a29249f11676e
2017-03-29loplugin:singlevalfieldsNoel Grandin
Change-Id: I7f05903aaab9b0b274358243d680d0c30694ae61 Reviewed-on: https://gerrit.libreoffice.org/35804 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-29Add note that the xmlMissing thing is not implementedTor Lillqvist
Customer was not interested after all, so dropping the attempt for now. Change-Id: I9a0afb6add66efbd43ee67ba0a8d0b1f79c5a7be
2017-03-28tdf#90290 use custom asserter in shared_test_impl.hxxkerem
Change-Id: I00bbd0fb3f63f5641fea75ce0cb797e5f2252fa2 Reviewed-on: https://gerrit.libreoffice.org/35669 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-03-28tdf#90290 use custom asserter in ucalc_sharedformula.cxxkerem
Change-Id: Ica0e0aed177c47e402e573d53df54ab6ea4ad15d Reviewed-on: https://gerrit.libreoffice.org/35727 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-03-28Fix typosAndrea Gelmini
Change-Id: Ibef75de246fb31884153437fe8c05e299fe5962f Reviewed-on: https://gerrit.libreoffice.org/35782 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-03-28fix too small loop varJochen Nitschke
Change-Id: Icaa64ac579a55f53fb1397e5eeee6dcc4c9d37cc Reviewed-on: https://gerrit.libreoffice.org/35802 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-03-28Turn XclSupbookType into scoped enum and add operator<< for SAL_INFO etcTor Lillqvist
Part of preparatory work for handling xlExternalLinkPath/xlPathMissing. Change-Id: I29b77bb2680e4dbf293ab65bda5401afee132f11
2017-03-28Bin an unused and a used-once typedefTor Lillqvist
Change-Id: I3f93378889d2c8eb0476dba4a4ea5aca31647f5c
2017-03-28First steps to round-trip xlExternalLinkPath/xlPathMissing thingsTor Lillqvist
Links to broken or missing external workbooks in .xlsx have the relationship type http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing . Ideally we should round-trip those (save identically back to .xlsx). Currently we don't save them at all, and Excel doesn't like formulas that refer to such external (but not mentioned in externalLinks) workbooks. Just a start, does not actually produce anything useful yet. Change-Id: Ic5a481c91864134f1caf66c56a4aef685d3018a7
2017-03-28remove some more unused SID constants and commandsNoel Grandin
Change-Id: Ibf2bb58ca687c18798328ed86cd549d64f3621b4 Reviewed-on: https://gerrit.libreoffice.org/35792 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-28tdf#42949: clean up includes in include/svx/[a-c]* with iwyuJorenz Paragas
Change-Id: I7768f4dbe9892c4264cb16eed87497894aa7494e Reviewed-on: https://gerrit.libreoffice.org/26582 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-03-28sc: include cleanup for --enable_formula_loggerJochen Nitschke
don't include osl/file.hxx everywhere it's only needed for --enable_formula_logger builds Change-Id: I6ba30351b5a7afe975ea859e838930f9d1454c8c Reviewed-on: https://gerrit.libreoffice.org/35766 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-03-28remove unused interfaces from sdi filesNoel Grandin
Change-Id: I69e880e348372b3695b14efd4928f38f29bda37e Reviewed-on: https://gerrit.libreoffice.org/35747 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-27tdf#39468 translate German source code commentsdennisroczek
Change-Id: Ic10f7543daed77a516155f7130838a1e8558243f Reviewed-on: https://gerrit.libreoffice.org/34833 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-03-27Move StackVarEnumToString to <formula/token.hxx> and use in a SAL_INFOTor Lillqvist
Once StackVarEnum has been changed to a scoped enum, we should probably add an operator<< for it, too. Is 'std::string FooToString(Foo e)' a good return type, signature, and naming pattern for functions to turn enums into strings? Would return type OUString be better? Is there some consistent existing convention? For use only in SAL_INFO and friends, probably just an operator<< is enough? Change-Id: I89abbcb37ba2ab925b0a9d7fc6294d8f9ee5aebd
2017-03-27change int to enumJochen Nitschke
plus some includes cleanup Change-Id: I3b57264ed67fc49ee06b825bbbeb397f596d0bea Reviewed-on: https://gerrit.libreoffice.org/35752 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-27create SfxInterfaceId o3tl::strong_intNoel Grandin
Change-Id: Ie52f63382a9fb36f9a472801be012b140bfb51f6 Reviewed-on: https://gerrit.libreoffice.org/35722 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-27remove unhandled SID commands in scNoel Grandin
checked to make sure none of the related .uno commands are present in any .xcu files. Change-Id: I026eec90351f525be7417f697debe2444756193b Reviewed-on: https://gerrit.libreoffice.org/35622 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-27add test for multiple row filteringMarkus Mohrhard
Change-Id: I55c898a7bf6796802ee6d04071801fec3fcf218d Reviewed-on: https://gerrit.libreoffice.org/35732 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-03-27add test for tdf#106214Markus Mohrhard
Change-Id: I9998aa40c3831a6033d4d61a6eab90d639ec5aa9 Reviewed-on: https://gerrit.libreoffice.org/35731 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-03-27handle date autofilter entries correctly, tdf#106214Markus Mohrhard
Change-Id: I8fd2896c8998e79794a0ccaae1c2442caf8b89ac Reviewed-on: https://gerrit.libreoffice.org/35730 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-03-27improve the test by introducing sub testsMarkus Mohrhard
Change-Id: I414da64f55348973a8f60c7518d26a835385125d
2017-03-26Kill remaining PseudoSlots usageMaxim Monastirsky
Change-Id: I14a820b7c0baba8d8b17d07715bf17c42c73c8fb TODO: Remove support code from idl and sfx2 modules Reviewed-on: https://gerrit.libreoffice.org/35718 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2017-03-26uitest: add more IDs to autofilter elementsMarkus Mohrhard
Change-Id: I6b22409403cf9ab39c9a120c712976316bf3a22a Reviewed-on: https://gerrit.libreoffice.org/35696 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-03-26uitest: add ability to open autofilter dialogMarkus Mohrhard
Change-Id: If03b2699975756ab650488abe032aefa8880a6b4 Reviewed-on: https://gerrit.libreoffice.org/35692 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-03-26uitest: add id to autofilter popupMarkus Mohrhard
Change-Id: Icf3b731c18333d97aa43535e31df73bc2dbfba42 Reviewed-on: https://gerrit.libreoffice.org/35691 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-03-25Fix typosAndrea Gelmini
Change-Id: I4e1a613fc99b931e84a1955695364e1d25e25e5c Reviewed-on: https://gerrit.libreoffice.org/35642 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-25Fix typosAndrea Gelmini
Change-Id: Ia17fe891f8a681ada69639ca579ebf6d6d781759 Reviewed-on: https://gerrit.libreoffice.org/35641 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-25loplugin:redundantcastStephan Bergmann
Change-Id: I61676e74413942ff5bde9ae8d376269a651bf93a Reviewed-on: https://gerrit.libreoffice.org/35676 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-03-24tdf#105908: add test for this.Kohei Yoshida
Change-Id: I553c18107d469bd7dce37d673f958126455b4393 Reviewed-on: https://gerrit.libreoffice.org/35608 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2017-03-24tdf#105908: restore previously deleted range references upon undo.Kohei Yoshida
Change-Id: If1932a5eb10da4c50fbcc3329af75f2e7a0a5137 Reviewed-on: https://gerrit.libreoffice.org/35607 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2017-03-24fix tb71 buildNoel Grandin
after commit 7916487cf4d9603cdbe4c7ffbe9bb3f28b51ce4e "convert ViewShellId to o3tl::strong_int" Change-Id: Ie7b8ac51a94c3b9e6d39e397aa3dd5cb42acc6d0 Reviewed-on: https://gerrit.libreoffice.org/35623 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-24tdf#86119 Fix toggle behaviour of SID_NUMBER_TWODEC.Gulsah Kose
Change-Id: If17935cbb35c1a57fe9ea4cfaca58385ed437842 Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
2017-03-24blind fix for screenshot buildNoel Grandin
after commit 88ec24a23a10af771879421360fe4330cbf174b0 "convert NAME constants to CreateNameFlags o3tl::typed_flags enum" Change-Id: I6025e2d2a1717e4741f0241ea65d4a49bb8da917
2017-03-24convert ViewShellId to o3tl::strong_intNoel Grandin
Change-Id: I45553d11d56aa8c4432aec126ca51f24bd3ead09 Reviewed-on: https://gerrit.libreoffice.org/35421 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-24Remove near-duplicated code.Kohei Yoshida
Change-Id: I46e743ae47c76c4e9c22d092f501636ebab92878 Reviewed-on: https://gerrit.libreoffice.org/35606 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2017-03-23Remove unused #include <ctype.h>Stephan Bergmann
Change-Id: I8bf3e30687e20151a9e1936e69362abfe9b3a99d