summaryrefslogtreecommitdiff
path: root/cui/source/customize/cfg.cxx
AgeCommit message (Collapse)Author
2014-04-16cui: sal_Bool->boolNoel Grandin
Change-Id: Ib7dd1f27d4909d30ee794936364a472a9755c609
2014-04-10It's "its", not "it's"Tor Lillqvist
Change-Id: Ieaa787afd7cc622b4750a2ee8f17f6dad934ba63
2014-04-08use TriState instead of sal_Bool as there's three possibilitiesCaolán McNamara
Change-Id: If24d4cec9ef4369f20419fe70de7392614a35316
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-03-29coverity#982292 Logically dead codeCaolán McNamara
Change-Id: I7862ffc1ba51b1083e7cd1fe428fd9a0e134bc38
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-27sfx2: sal_Bool->boolNoel Grandin
Change-Id: I1fd02cc148fd9a54d2092dad1e548f51a0813a14
2014-03-25svtools: sal_Bool->boolNoel Grandin
Change-Id: Ifd3e643dbc6755839ad4af73ae141fd115ddb4f4
2014-03-07convert customize menu page to .uiCaolán McNamara
Change-Id: Ifb47cb1e902a64ece951fe9b4d28ba49bbb4b3ee
2014-02-26Remove visual noise from cuiAlexander Wilms
Change-Id: I6cec1f747ce57c3153af92e9e0c317d34d5a245d Reviewed-on: https://gerrit.libreoffice.org/8250 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23coverity#704595 Dereference after null checkCaolán McNamara
Change-Id: I2c8aa1163d3eb228259db0c51f5cf9dca0657daf
2014-02-23Remove unneccessary commentsAlexander Wilms
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-21vcl: sal_Bool -> boolStephan Bergmann
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-20Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert
Added vcl/settings.hxx to all cxx files which require it. This helps to speed up compilation after changes to the settings. Conflicts: sc/source/ui/dbgui/pvlaydlg.cxx Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4 Reviewed-on: https://gerrit.libreoffice.org/7933 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-14cid#704597 dereference after null checkNoel Grandin
this code dates back to the first commit, if the null check was valid the dereference should have triggered a bug by now. Change-Id: If074f68bde6a63083921f687e700321488842364
2014-02-14cid#704596 dereference after null checkNoel Grandin
this code dates back to the first commit, if the null check was valid the dereference should have triggered a bug by now. Change-Id: I7746bd26b6760dec4db522938e40a323be9ae4d8
2014-02-06Introduce com.sun.star.ui.theWindowStateConfiguration singleton.Matúš Kukan
Change-Id: I50861ac8952d54cb1a45846ea72a2ecac4f83409
2014-02-06Introduce com.sun.star.util.thePathSettings singleton.Matúš Kukan
To replace single-instance com.sun.star.util.PathSettings service, incorrectly converted in 89b0017b22889af6a8afe28b94c06e7095dc8c6f Keeping util::PathSettings::create in sc/source/ui/vba/vbaapplication.cxx because for some reason util::thePathSettings::get does not work in sc_macros_test while testing sc/qa/extras/testdocuments/Ranges.xls. Change-Id: I75b68ae56ac5b58f72416070dba100ab3ab70fe8
2014-02-04Simplify showKeyConfigTabPageStephan Bergmann
Change-Id: I31f7dd7ded3d319ba67e38f530128e28c265b7d5
2014-01-30Introduce com.sun.star.ui.theModuleUIConfigurationManagerSupplier singleton.Matúš Kukan
Change-Id: I7b503e5d49865c9ff287bf72eaff1995ce871790
2014-01-28bool improvementsStephan Bergmann
Change-Id: Ibb509cb162e53e03d42cb50eb30dd1d175991dd6
2014-01-28Introduce com.sun.star.frame.theUICommandDescription singleton.Matúš Kukan
Change-Id: Ic88cca3722d555ba48d7da8c176556fa1ff90650
2014-01-22bool improvementsStephan Bergmann
Change-Id: I63078dd1ac7119d2886d4183e7267eeff3365b87
2014-01-21Fix bogus mass-conversion equalsAsciiL -> startsWithStephan Bergmann
3af99e4d59d89c343965a928681a30f36b1007d2 "convert equalsAsciiL calls to startsWith calls" should rather have converted to oprator ==. Change-Id: Id4a8836c5d6d570e54661c40be7214632e202b21
2014-01-14Dialog::Execute does not return boolStephan Bergmann
Change-Id: I4d1c0b6f0586e2ff7adc5aae524a14c9eaa2dc3b
2014-01-06convert customize tab dialog to .uiCaolán McNamara
Change-Id: I95463021b388e936e8982454b91e58036e3920b5
2013-12-17Remove unnecessary use of OUString constructor in + expressionsNoel Grandin
Convert code like aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp"); to aFilename = OUString::number(nFilePostfixCount) + ".bmp"; Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50
2013-11-20convert equalsAsciiL calls to startsWith callsNoel Grandin
Convert code like: aStr.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ActiveConnection" ) ) to aStr.startsWith( "ActiveConnection" ) which compiles down to the same machine code. Change-Id: Id4b0c5e0f9afe716a468d3afc70374699848dc33
2013-11-11remove unnecessary use of OUString constructorNoel Grandin
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-10-31convert new/move menu to .uiCaolán McNamara
Change-Id: I77e46382cae6da03c3a972c9838afb3f8698c9a3
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin
This is both an optimisation and a cleanup. This converts code like aStr.indexOf("XX") == 0 to aStr.startsWith("XX") and converts code like aStr.lastIndexOf("XXX") == aStr.getLength() - 3 to aStr.endsWith("XXX") Note that in general aStr.lastIndexOf("X") == aStr.getLength() - 1 converts to aStr.isEmpty() || aStr.endsWith("X") so I used the surrounding context to determine if aStr could be empty when modifying the code. Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
2013-10-28windows: warning 4355 is disabled globally in com_MSC_defs.mkThomas Arnhold
So there is no need to do this locally, too. Change-Id: I0fa1d0cd3e077ba0985848a9d2cbb061b123e8ad
2013-10-09fdo#63866 Remove checkbox also for new separatorsSamuel Mehrbrodt
Change-Id: I2894b7ffc186836890ab7b8117e2c7ca43bd21be Reviewed-on: https://gerrit.libreoffice.org/6087 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-02-Werror,-Wunused-variableStephan Bergmann
Change-Id: Ie3e9cb1e30af597e9086d5713b743fc416e19ade
2013-10-01convert CUI module from String to OUStringNoel Grandin
Change-Id: I79bdab414d448a0d619b80857d7b31633c116f81
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-15convert GetName/Title/Description methods to OUStringIvan Timofeev
Change-Id: Id16a2b29b1d6cf02b94cc6c423e2475a9cbeb8a3
2013-06-28remove toolkit/unohlp.hxx hackThomas Arnhold
Change-Id: Idb9971d848870f4d00dbf77e80e48bf7dfde8913 Reviewed-on: https://gerrit.libreoffice.org/4601 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-07fdo#63866 Hid useless checkboxesJason Hulme
Added functions to SvTreeListBox and SvLBoxButton to allow entries with hidden checkboxes Change-Id: Ia5a1deabea6c01aad5e4010612ac453c669258a6 Reviewed-on: https://gerrit.libreoffice.org/4169 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-05-14fdo#46808, Convert ui::ImageManager to new styleNoel Grandin
The service already existed, it just needed an IDL file. Change-Id: I5bdc3064b0a3caa5a0d2abf4ef5ba3159889c7af
2013-05-13fdo#46808, Convert util::PathSettings service to new styleNoel Grandin
Change-Id: I302be46b46518e1e872771e1c8a0647f7c330b30
2013-04-20fdo#63154: Change Min/Max/Abs for std::min/max/absMarcos Paulo de Souza
Now all these usages were removed from LO. Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6 Reviewed-on: https://gerrit.libreoffice.org/3326 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-03-30Simplify a bit iterators stuffJulien Nabet
Change-Id: Ie2159d5eb8caf3d8f13d9c1ec49cc2bb6a0d94eb
2013-03-08some further OUString cleanupThomas Arnhold
Change-Id: I13eb94092e29ececc9fbf494074acde5f893b605
2013-03-02coverity#982967: fix memory leakMarkus Mohrhard
Change-Id: Ie96353daa1947297eff417d32ba4c67964489a16
2013-02-24loplugin: unused variablesThomas Arnhold
And some fallout. Change-Id: I8dfc12f3566e72d79d4f9930284c92577aa485a1
2013-02-22adapt code to New Toolbar Dialog .ui conversionCaolán McNamara
Change-Id: Ie1b7a0cf5fbb9dbfc04a07bb58d5f55f83a096f3
2013-02-06Some cppcheck cleaningJulien Nabet
Change-Id: I1b80271473166755e8f0afaa7af8ffc7bea394b3
2013-01-21Changed SetText() / GetText() to take/return OUStringChr. Rossmanith
replaced lots of Len() with isEmpty() Change-Id: I6b82d48245ee2a0782e05a326f7934e9357227d0 Reviewed-on: https://gerrit.libreoffice.org/1795 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>