summaryrefslogtreecommitdiff
path: root/svtools
AgeCommit message (Collapse)Author
2014-02-25BrowseBox::bHideCursor misuses sal_Bool for TriStateStephan Bergmann
(TRISTATE_INDET == "smart" is probably obvious enough to not warrant an extra enum.) Change-Id: I5fde5294c83c9f805d9df645089665b9dbcfec96
2014-02-25Replace deprecated std::auto_ptr with boost::scoped_ptrTakeshi Abe
Change-Id: I8e11ffe888aac8887c4c0875c41de51f343debae
2014-02-24sal_Bool arg of SetUseImagesInMenus was abused to squeeze '2' through itCaolán McNamara
which means that icons suddenly reappeared in the menus when the gtk theme had disabled them ref e8f8f24c8415898c787bbfb629247ed62e73a2b9 Change-Id: Ia9aef5ca39bda2ddf6d7c4ebc2bddc01d470d09b
2014-02-24Replace exisiting TriState, AutoState with more generic TriStateStephan Bergmann
Change-Id: Ida05478aae5a379775c671e0c2f2851d820d78be
2014-02-24toolkit: sal_Bool -> boolStephan Bergmann
Change-Id: I5153c4413004d1b50cc503b3e70657bc831a5793
2014-02-24Remove some temporaries around calls to SvNumberFormatter methodsMatteo Casalin
Change-Id: Ib03c97a52df120bac1ac9b2b9d2e52431ead1027
2014-02-24Adapt to osl_atomic_inc-/decrementStephan Bergmann
Change-Id: I848873b07ab05cefdc755a8bf1301907fdfbc299
2014-02-24Remove unnecessary extractInterfaceStephan Bergmann
Change-Id: I4848bf84615274ad5732223a354fb7a6b845d9a8
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-23coverity#441203 Dereference after null checkCaolán McNamara
Change-Id: I166e9ab8d3693568cc2b6a0ecd7d49532508116b
2014-02-22Strategic SolarMutexGuardStephan Bergmann
...seen CppunitTest_dbaccess_dialog_save fail with > abort > __assert_rtn > ImplDbgTestSolarMutex at vcl/source/app/dbggui.cxx:1678 > DbgFunc at tools/source/debug/debug.cxx:1123 > DbgTestSolarMutex at debug.hxx:286 > OutputDevice::ImplGetGraphics at vcl/source/gdi/outdev.cxx:525 > OutputDevice::GetFontCharMap at vcl/source/gdi/outdev3.cxx:7740 > OutputDevice::HasGlyphs at vcl/source/gdi/outdev3.cxx:7810 > Window::ImplCheckUIFont at vcl/source/window/window.cxx:447 > Window::ImplUpdateGlobalSettings at vcl/source/window/window.cxx:471 > Application::MergeSystemSettings at vcl/source/app/svapp.cxx:495 > SvtMiscOptions_Impl::SetIconTheme at svtools/source/config/miscopt.cxx:592 > SvtMiscOptions_Impl::SetIconThemeAutomatically at svtools/source/config/miscopt.cxx:934 > SvtMiscOptions_Impl::Load at svtools/source/config/miscopt.cxx:514 > SvtMiscOptions_Impl at svtools/source/config/miscopt.cxx:299 > SvtMiscOptions_Impl at svtools/source/config/miscopt.cxx:425 > SvtMiscOptions at svtools/source/config/miscopt.cxx:753 > SvtMiscOptions at svtools/source/config/miscopt.cxx:756 > connectivity::DriversConfigImpl::Load at connectivity/source/commontools/DriversConfig.cxx:106 > connectivity::DriversConfigImpl::getInstalledDrivers at DriversConfig.hxx:53 > connectivity::DriversConfig::getURLs at connectivity/source/commontools/DriversConfig.cxx:243 > ODsnTypeCollection at dbaccess/source/core/misc/dsntypes.cxx:60 > ODsnTypeCollection at dbaccess/source/core/misc/dsntypes.cxx:71 > DatasourceURLListener at dbaccess/source/filter/xml/xmlfilter.cxx:183 > DatasourceURLListener at dbaccess/source/filter/xml/xmlfilter.cxx:183 > dbaxml::ODBFilter::implImport at dbaccess/source/filter/xml/xmlfilter.cxx:451 > dbaxml::ODBFilter::filter at dbaccess/source/filter/xml/xmlfilter.cxx:404 > non-virtual thunk to dbaxml::ODBFilter::filterat dbaccess/source/filter/xml/xmlfilter.cxx:415 > dbaccess::ODatabaseDocument::impl_import_nolck_throw at dbaccess/source/core/dataaccess/databasedocument.cxx:520 > dbaccess::ODatabaseDocument::load at dbaccess/source/core/dataaccess/databasedocument.cxx:585 > non-virtual thunk to dbaccess::ODatabaseDocument::loadat dbaccess/source/core/dataaccess/databasedocument.cxx:602 > dbaxml::DBContentLoader::load at dbaccess/source/filter/xml/dbloader2.cxx:484 > non-virtual thunk to dbaxml::DBContentLoader::loadat dbaccess/source/filter/xml/dbloader2.cxx:553 > framework::LoadEnv::impl_loadContent at framework/source/loadenv/loadenv.cxx:1177 > framework::LoadEnv::startLoading at framework/source/loadenv/loadenv.cxx:401 > framework::LoadEnv::loadComponentFromURL at framework/source/loadenv/loadenv.cxx:172 > framework::Desktop::loadComponentFromURL at framework/source/services/desktop.cxx:603 > non-virtual thunk to framework::Desktop::loadComponentFromURLat framework/source/services/desktop.cxx:604 > unotest::MacrosTest::loadFromDesktop at unotest/source/cpp/macros_test.cxx:43 > DialogSaveTest::test at dbaccess/qa/extras/dialog-save.cxx:73 > CppUnit::TestCaller<DialogSaveTest>::runTest at TestCaller.h:166 > CppUnit::TestCaseMethodFunctor::operatorat TestCase.cpp:32 > (anonymous namespace)::Prot::protect at unotest/source/cpp/unobootstrapprotector/unobootstrapprotector.cxx:88 > CppUnit::ProtectorChain::ProtectFunctor::operatorat ProtectorChain.cpp:20 > (anonymous namespace)::Prot::protect at unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx:64 > CppUnit::ProtectorChain::ProtectFunctor::operatorat ProtectorChain.cpp:20 > CppUnit::DefaultProtector::protect at DefaultProtector.cpp:15 > CppUnit::ProtectorChain::ProtectFunctor::operatorat ProtectorChain.cpp:20 > CppUnit::ProtectorChain::protect at ProtectorChain.cpp:77 > CppUnit::TestResult::protect at TestResult.cpp:181 > CppUnit::TestCase::run at TestCase.cpp:91 > CppUnit::TestComposite::doRunChildTests at TestComposite.cpp:64 > CppUnit::TestComposite::run at TestComposite.cpp:23 > CppUnit::TestComposite::doRunChildTests at TestComposite.cpp:64 > CppUnit::TestComposite::run at TestComposite.cpp:23 > CppUnit::TestRunner::WrappingSuite::run at TestRunner.cpp:47 > CppUnit::TestResult::runTest at TestResult.cpp:148 > CppUnit::TestRunner::run at TestRunner.cpp:96 > (anonymous namespace)::ProtectedFixtureFunctor::run at sal/cppunittester/cppunittester.cxx:150 > sal_main at sal/cppunittester/cppunittester.cxx:242 > main at sal/cppunittester/cppunittester.cxx:166 Change-Id: I217499b41027449df634945c4b260aafdfc4bff4
2014-02-21Bug #63962 Dynamically scan the config directory for icon themesTobias Lippert
The hard-coded icon themes have been replaced by a dynamic list which is filled by scanning the config directory Conflicts: include/vcl/settings.hxx vcl/source/app/settings.cxx vcl/source/window/window.cxx Change-Id: Ie3680ffe27d06e375acf22753e036cb6ddabc4ed Reviewed-on: https://gerrit.libreoffice.org/7935 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-21html: Make GetColor() working in lower case.Jan Holesovsky
To be consistent with the rest that works in lower case now. Change-Id: I6fe40e71393230bbde8e283b1f98479bf644c610
2014-02-21html: Lowercase the html colors, and make the comparison more robust.Jan Holesovsky
Change-Id: I5fb3b1c8ea3692864707489ff9a82b78c5647d4a
2014-02-21fdo#74584: complete revert various previous changes to upcase HTML tagsCaolán McNamara
f1f8b3bfdc3406ea79b662a2fda3d0c1cb87bb10 says it reverts commit 3c84fa61570113d1dfb2523ab88f268eeeb46c3c. commit 96a1f60aeb2a7954533da9b4aa4947efb7a65e70. commit 1f74a3ce201bad68f160584900285e2c087ab2c0. commit 3d481254a07fe82d11953f9825a2f8fc6eeabc0b. but only reverted 3d481254a07fe82d11953f9825a2f8fc6eeabc0b Change-Id: I0530bd0b176b1f1e9bbf8eee78376991c664a850
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-20fdo#74584: Revert "fix html tests"Michael Stahl
This reverts commit 277922e7a0a4ae8076c10936c4b12df6dcc5ddac. ...since 73e3aafa990168aa532fa7b81fc4de8f455b10e1 was reverted and sw_htmlexport test fails. Change-Id: I32a390a3058e43bc3314b678e27c74036b90f200
2014-02-20fdo#74584: Revert "html: Options need to be lowercase, too"Michael Stahl
This reverts commit 700883b34ebcdb77f398b4423f358bdf4648a853. ...since 73e3aafa990168aa532fa7b81fc4de8f455b10e1 was reverted and sw_htmlexport test fails. Change-Id: Ia83705279e792a0c2375619b6a209e46a319fea7
2014-02-19fdo#74584: Upcase the tag name before searching.Kohei Yoshida
Else HTML import or detection code would fail. Change-Id: Id79e8eac87d8001527f068f8fd49636353dc38d5
2014-02-19coverity#738857 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ic82e559e9b7ca31fa6d9b5ff1d1fc5ae3fac9b88
2014-02-19coverity#738860 Uninitialized scalar fieldCaolán McNamara
Change-Id: I968c9f10d426b90e6883e7a0ff1387187d97dcd2
2014-02-19coverity#738865 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ie6473e4a8c4b311b6862019046fb4ae9cf05e1fb
2014-02-19unotools: sal_Bool -> boolStephan Bergmann
Change-Id: I8051c0756e0474a5b4f748e0aa15a9922e82ea97
2014-02-19coverity#738866 Uninitialized scalar fieldCaolán McNamara
Change-Id: I2ab29fb267055f70c0d42970abd4e4d944ab7006
2014-02-18coverity#984146 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ibaeaa95c346547f17b82c687944a8b37c05b9b49
2014-02-18callcatcher: update unused code listsCaolán McNamara
Change-Id: Ie975f8a970eec63b593933ebb2394db76d537c51
2014-02-13coverity#736486 try and make coverity see through this betterCaolán McNamara
Change-Id: I6becf305d88618fb53dff3519b31b010e371ab44
2014-02-12more SvStream:operator>> conversionNoel Grandin
Convert the template based read_lenPrefixed methods to regular methods. Change-Id: Ifd0e93aca055e55a0575e4377ec2b8e266dfb019 Reviewed-on: https://gerrit.libreoffice.org/7895 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-12convert SvStream::operator>> methods to ReadXXX methodsNoel Grandin
First, I updated the clang rewriter to do the conversion. Then I lightly hand-tweaked the output for the few places where the rewriter messed up, mostly when dealing with calls on "this". Change-Id: I40a6a977959cd97415c678eafc8507de8aa3b1a9 Reviewed-on: https://gerrit.libreoffice.org/7879 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-12Revert "coverity#736486 try and make coverity see through this better"Caolán McNamara
This reverts commit a0bae848d42b675e4638420d632d710ed3cf76c3.
2014-02-12coverity#441136 Dereference after null checkCaolán McNamara
Change-Id: I81a1a70094ae6b4ed685ae3fe88c645b160955bf
2014-02-12cid#1103689 missing break in switchNoel Grandin
Change-Id: I28338145fdd71ec25b9c6d291e445d35636e43a9
2014-02-12coverity#736486 try and make coverity see through this betterCaolán McNamara
Change-Id: I53d858cad02ae2c8f36de926b380d3a50810e141
2014-02-12return value unusedCaolán McNamara
Change-Id: I22276dd551c4d1311a113ce6c38cc5eb97ed12ef
2014-02-12callcatcher: update unused codeCaolán McNamara
Change-Id: Iaaad9302ef8edb47fa95ce8ca608b6f36449521b
2014-02-12remove code in dead HTML_BEHAVIOUR #defineNoel Grandin
git grep found nowhere in the codebase that this define is being set. Change-Id: I63e18e8f47b5e58ff96b075ddb4bc9a36e1dc80e Reviewed-on: https://gerrit.libreoffice.org/8002 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-12Clean-up svt::ToolboxController inheritanceStephan Bergmann
...and fix its XTypeProvider::getTypes Change-Id: Ic36b17b14da21a29ca5530dd5e2ad03ee3da0782
2014-02-12Remove pointless "shizhoubo" commentsStephan Bergmann
Change-Id: I50521b0dab7325313ed5a3303f09a0692d76d19d
2014-02-12cid#705248 missing break in switchNoel Grandin
Change-Id: I325b95900e7a5ec927e8c38a687a7fe8058bbdfa
2014-02-11svtools: add some missing locks in new codeMichael Stahl
Change-Id: I6f000fb0f205b437e4ff5238c8ede5735c403077
2014-02-10coverity#440991 Dereference after null checkCaolán McNamara
Change-Id: I3b911e4bc1e6c2eccf4b9655f12162936fc5a946
2014-02-10the return of callcatcherCaolán McNamara
Change-Id: I447ebcc61ff061bce15678c6fcfd3d0a4669908f
2014-02-07sal_Bool -> boolStephan Bergmann
Change-Id: Ifc80202e0865b59931af6e50d3d60f5021f8b52e
2014-02-06typo fixes in commentsAndras Timar
Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc
2014-02-06fdo#54938 Convert oox, sc, vcl, svtools... to cppu::supportsServiceAlexandre Vicenzi
Change-Id: I6268bc57417d53b9810c81071fbcd604e2a19507 Reviewed-on: https://gerrit.libreoffice.org/7886 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-02-05Doxygen warnings correctedChris Sherlock
* Doxygen spits out a lot of warnings about not being able to find match function signatures, etc. This is because in some headers we have a using namespace statement, in others it gets confused between ::Window and Window (!). * Wrong use of tags: + Lots of @seealso - should be @see + Wrong usage of @overload - corrected with the right function signature + HTML tags that doxygen doesn't recognize removed Change-Id: I1c2eed941619b8764dbfcfc5ab38027518cdf261
2014-02-04convert specialised SvStream::operator>> methods to ReadXXX methodsNoel Grandin
as preparation for converting the SvStream::operator>> methods on primitive types Change-Id: I62f134bced15c687d6e0d46924f56e8d1c3d95b9 Reviewed-on: https://gerrit.libreoffice.org/7798 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-02-04fdo#73263: Change the default color for reference border to non-red.Kohei Yoshida
See the referenced bug report for the reason behind it. Change-Id: I4284807adaf82ae9581208a13ebd5071d36be5c7
2014-02-04C2872: ´Pair´ : ambiguous symbolCaolán McNamara
Change-Id: Ia9c86914319cd8342d04e9a9efb23aa18d1e94df