summaryrefslogtreecommitdiff
path: root/svtools
AgeCommit message (Collapse)Author
2015-10-07Abstract out repeated code into a lambdaStephan Bergmann
...to silence a clang-analyzer-deadcode.DeadStores on the last update of nX Change-Id: Ifeb2e5294b22270ba134a303fbe5aa1d50025c75
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: I19650204f707c822f9f16a04e1bd1cd8e85a5c67
2015-10-07Pull assignment out of switch conditionStephan Bergmann
Change-Id: I0a2d6488dcccfb643cb3fce542d013e3f981e657
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: I52446e517c2315516ea74a30767393ff32960799
2015-10-06loplugin:unusedmethodsNoel Grandin
Change-Id: I150baadc442e57ee604563bc52965daa9d2e41af
2015-10-06loplugin:mergeclassesNoel Grandin
Change-Id: I7c8c60aab31517d595a7e37c3789fa1e515ec3ee
2015-10-05Temporary remember password even if persistent password storing is disabledSzymon Kłos
Change-Id: I2ca98889b2c31c40a84348a55d85750f7c031a92
2015-10-04Prefer getSelectedFiles to getFiles (svtools)Julien Nabet
Change-Id: I6a61f3a04a8e01c2f0a6a0da8cb989e71c120c9b Reviewed-on: https://gerrit.libreoffice.org/19128 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-10-02loplugin:unusedmethodsNoel Grandin
Change-Id: Ie1603adf3908fd0668bcbe8f75c6bafa0d0bfd6c Reviewed-on: https://gerrit.libreoffice.org/19072 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-01tdf#94559: third step to remove rtti.hxxOliver Specht
replaced use of PTR_CAST, IS_TYPE, ISA in oox, reportdesign, svl, svtools, svx, tools Change-Id: I1f85ff92267a0668eba625fa61b4f07feb8f3d4e Reviewed-on: https://gerrit.libreoffice.org/19002 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-10-01remove old standalone Sun bug numbersNoel Grandin
Sun bug numbers without any accompanying text are completely useless. Fixed with git grep -lP '//\s*#\d+#\s*$' | xargs perl -i -ne'/\/\/\s*#\d+#\s*$/d or print' And then hand-checking the result to restore places where it deleted code. And then some more grepping and hand-editing to kill the others. Change-Id: Ia96ce4466db8bb8da363ebf41f0ae7f45f28bf29 Reviewed-on: https://gerrit.libreoffice.org/19023 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-30Fix typosAndrea Gelmini
Change-Id: Icd2055ee1f941383d0338ea3515a9fbb6db1712a Reviewed-on: https://gerrit.libreoffice.org/18979 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30Fix typosAndrea Gelmini
Change-Id: I7bb3caf76909603343f50568b68e3eadeb1cac30 Reviewed-on: https://gerrit.libreoffice.org/18980 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-29Renamed wrongly prefixed boolean variablesStefan Heinemann
Fixed tdf#94269 Change-Id: I63109cc4e095bad680d7637a065080ea368860ae Reviewed-on: https://gerrit.libreoffice.org/18851 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-29loplugin:removeunusedmethods, remove unused stuffNoel Grandin
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
2015-09-28Return std::unique_ptr from SvTreeListBox::CreateContextMenuStephan Bergmann
Change-Id: I1e4c32099ec9741c0cab246eb627a2eb3b933e1a
2015-09-24convert Link<> to typedNoel Grandin
Change-Id: I59d325c3b051690303a5841907317122fa1ec98b Reviewed-on: https://gerrit.libreoffice.org/18825 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-22convert Link<> to typedNoel Grandin
Change-Id: Iccdfc807447c18c2929cc93bcb11d32b3659d666 Reviewed-on: https://gerrit.libreoffice.org/18774 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-22convert Link<> to typedNoel Grandin
and remove unused UserEvent class Change-Id: Ic61c5eef75c36393dbbaa92d93163eab89021ee3
2015-09-21hide ScopedPtr::reset and add disposeAndClearCaolán McNamara
Change-Id: I55d6e789abd408b8478a2b9ae141d8899af2c309 Reviewed-on: https://gerrit.libreoffice.org/18745 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-21convert Link<> to typedNoel Grandin
Change-Id: If3e2b00092440ebd42ae5b73ae2b0e44c3702683
2015-09-20convert Link<> to typedNoel Grandin
Change-Id: I10b050dc4aae45e646761a82520caa96969bc511 Reviewed-on: https://gerrit.libreoffice.org/18700 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-17unused headersCaolán McNamara
Change-Id: I59d274951a8b81c091993277f433359834851a0c
2015-09-16boost->stdCaolán McNamara
Change-Id: Ic18be8b86727dd1179a7e39c70493d088ed00557
2015-09-16tdf#94228 vcl: replace BOOST_PP with templatesDaniel Robertson
Replace BOOST_PP macros in Bitmap Checksum to Bitmap Checksum Octet Array with templates. Change-Id: Ia7cbc20c90b4d99d54760580e3db10afac9020f3 Reviewed-on: https://gerrit.libreoffice.org/18597 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-16remove unused Link fieldNoel Grandin
Change-Id: If79a5031d60bd88fa8a3ad4d0ab1664c18f46a67
2015-09-16convert Link<> to typedNoel Grandin
Change-Id: I55596ac8fd5cc0a052b821fca48523f9f5a5a294
2015-09-16convert Link<> to typedNoel Grandin
Change-Id: I58b31530b4a29851abe9eccdf8f832b9d0348c2c
2015-09-15convert Link<> to typedNoel Grandin
Change-Id: Id8ea19a0fe04061c6ec35229f41c164b4ebd408c
2015-09-15convert Link<> to typedNoel Grandin
Change-Id: I6564e4e7042c34741fd7c9ed03627c83ef818486
2015-09-15convert Link<> to typedNoel Grandin
Change-Id: Ia7a63d72048f6abde92b414e58b464cdd611017b
2015-09-15convert Link<> to typedNoel Grandin
Change-Id: I8cd997f55f4c7206358cba9edd3d41dbedd4363f
2015-09-15convert Link<> to typedNoel Grandin
Change-Id: I057969beed6402b2125f4dc719570d324c1df4fc
2015-09-15convert Link<> to typedNoel Grandin
Change-Id: I8f3e401afa27778678788b4ac90ea927a2fed1d7
2015-09-15convert Link<> to typedNoel Grandin
Change-Id: I99ae0ff43a25dbaf8f6f5f03ec0f8751f0893ccb
2015-09-15remove unused Link<>Noel Grandin
Change-Id: I7749d0d7d7dc27395373ed4a81e8235b9317d284
2015-09-14add English (Botswana) [en-BW] 0x9809 to language list, tdf#94207 preparationEike Rathke
Change-Id: I6730352c830fdbbc293830f3567d61096e8d0b6f
2015-09-14convert Link<> to typedNoel Grandin
Change-Id: I1c501671d72edd5b998e80c7fa1e91dbeb507af8
2015-09-12Update many ListBox users to its sal_Int32 interfaceMatteo Casalin
Change-Id: I6469ac5e2d17406bee9bc434930e2471cb3bae9f
2015-09-12Use forward declaration and reduce include scopeMatteo Casalin
Change-Id: I4456629dfc242d78f2c63c0b83d00afc3cdd23e7
2015-09-12fix downcast by intermediate functionMatteo Casalin
Change-Id: I8e7909003249a3f86928197bbde29231f84b01c2
2015-09-12Typo: muliple->multipleJulien Nabet
Change-Id: Iebcf44d99bd4cabd5f7f1242e44c1c1d8e5a10d5
2015-09-11tdf#92145: Writer table rows/columns can't be resizedLászló Németh
with disabled rulers. (This fix was suggested by Tomaž Vajngerl.) Change-Id: I161237cdb4941c0eaf934223b078acd94d72e21d
2015-09-11convert Link<> to typedNoel Grandin
Change-Id: I85658fa35b9b85106a3b9c8ef303584cad6f39b0
2015-09-11convert Link<> to typedNoel Grandin
Change-Id: I3defac5fff9708228d9bf3200e51853a127bfdc5
2015-09-10convert Link<> to typedNoel Grandin
Change-Id: I7aa46c5cbaf70bea5756a4066bc620b3c40dedee
2015-09-09convert Link<> to typedNoel Grandin
Change-Id: I3127752785b77672d37f99bc9eaa881377dabe7c Reviewed-on: https://gerrit.libreoffice.org/18431 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-09convert Link<> to typedNoel Grandin
Change-Id: I2f36a123662488ef5534f7bf0845d61e497fb0ec
2015-09-09Get rid of OSL_UNUSEDStephan Bergmann
In many cases it was originally used to silence warnings about variables used only in OSL_ENSURE etc., but that's no longer necessary since OSL_ENSURE is based on SAL_WARN etc. In some other cases it was apparently used as a speculative debugging aid, to have a value assigned to a variable to be easily able to view the value in a debugger. And in some cases it was used with (otherwise ignored) return values of (typically SQL-related) function calls, but it is probably better to eventually find and fix all the problematic ones among such calls via function declarations annotated SAL_WARN_UNUSED_RESULT. Change-Id: Ib925b38da70073b546fdcd00fa8524dc302accbf
2015-09-09Remove unused function paramsStephan Bergmann
Change-Id: I1b72a95b7367bb555d37a9a073ca4da2b01cf53f