summaryrefslogtreecommitdiff
path: root/svtools
AgeCommit message (Collapse)Author
2014-03-02coverity#984421 Unused pointer valueCaolán McNamara
Change-Id: Id44c9c3da6624db63e1f0f95dcaeddcc8b5402d5 Reviewed-on: https://gerrit.libreoffice.org/8426 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-28loplugin:literaltoboolconversionStephan Bergmann
Change-Id: If5949c6123e2816d0e7d9fd93d3e24dfecba1a56
2014-02-28sal_Bool -> bool in mostly vcl moduleChris Sherlock
Conflicts: include/vcl/settings.hxx svtools/source/table/tablecontrol_impl.cxx sw/source/core/frmedt/fecopy.cxx vcl/inc/canvasbitmap.hxx vcl/inc/headless/svpframe.hxx vcl/inc/unx/salframe.h vcl/inc/win/salframe.h vcl/inc/win/salprn.h vcl/inc/win/salvd.h vcl/osx/DragSource.cxx vcl/osx/DragSource.hxx vcl/osx/DropTarget.cxx vcl/osx/DropTarget.hxx vcl/osx/OSXTransferable.cxx vcl/osx/OSXTransferable.hxx vcl/osx/clipboard.cxx vcl/osx/clipboard.hxx vcl/osx/salprn.cxx vcl/qa/cppunit/canvasbitmaptest.cxx vcl/source/components/fontident.cxx vcl/source/control/edit.cxx vcl/source/control/spinfld.cxx vcl/source/gdi/gdimtf.cxx vcl/source/gdi/virdev.cxx vcl/source/helper/canvasbitmap.cxx vcl/source/window/dockwin.cxx vcl/unx/generic/dtrans/X11_selection.hxx vcl/unx/kde/UnxFilePicker.cxx vcl/unx/kde/UnxFilePicker.hxx vcl/unx/kde4/KDE4FilePicker.cxx vcl/unx/kde4/KDE4FilePicker.hxx vcl/unx/kde4/KDESalFrame.hxx Change-Id: I9866d985da86dea2a56feff23f91c1467a1636b0 Reviewed-on: https://gerrit.libreoffice.org/8219 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-28remove unused code FontSizeBox::GetValue(unsigned short, FieldUnit)Noel Grandin
Change-Id: I63df5364d69bf60e7a5ee2b5854b41ce27f10894
2014-02-27Resolves: #i15508# Added support for BMP file typeArmin Le Grand
(cherry picked from commit 9956ed1303545cd61901e33b110698c4e5e224c4) Conflicts: filter/source/msfilter/escherex.cxx include/vcl/gfxlink.hxx svx/source/xml/xmlgrhlp.cxx sw/source/ui/docvw/romenu.cxx vcl/source/filter/graphicfilter.cxx Change-Id: Ibcbb69b9c57cd8a438788e9a9c95744e99b6fcdd
2014-02-27normalize values of CROSS_COMPILINGMichael Stahl
Change-Id: I0cc43cef91e3fcd82a3558a16ab0afbd4d56b141
2014-02-27remove unused code Ruler::GetPageWidth()Noel Grandin
Change-Id: I7a061b869a699771b321d7143559c5b9f48937c5
2014-02-27remove unused code SvViewDataEntry::SetObjectSelected(bool)Noel Grandin
Change-Id: I3b41be19f4094affd1d000c8780cf6eb54352696
2014-02-26added Lengo [lgr-SB], fdo#72512Eike Rathke
Change-Id: I8614619224d65118d6057eab6c3f6f7ee8efc617
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26added Cree, Plains, Latin [crk-Latn-CN] and Syllabics [crk-Cans-CN], fdo#73973Eike Rathke
Change-Id: I66b2923a59e06c5798d8debb14eb2282c9a4fb1d
2014-02-25added Avar [av-RU], fdo#75161Eike Rathke
Change-Id: Id8e32dab357d0eda90d36ab4e53f3eb2da769029
2014-02-25added Maninkakan, Eastern, Latin [emk-Latn-GN], fdo#74672Eike Rathke
Change-Id: Ib75136c6f0604cb6e3125e39a1514bbcc9ade079
2014-02-25fix commentsCaolán McNamara
Change-Id: I79f827b361d0afe2e9c436d3fb29847b9aaa981d
2014-02-25Remove visual noise from svtoolsAlexander Wilms
Change-Id: I7c2b74a449fb20aae5bc643e24a22cf6f732136d Reviewed-on: https://gerrit.libreoffice.org/8320 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-25Typo: alowed -> allowedJulien Nabet
Change-Id: I3b02f092e294016a5b50900e94dc1917b6896a6f
2014-02-25Clean up confusing name clashes of non-virtual SvListView member functionsStephan Bergmann
...Expand/Collapse/Select with virtual functions of the same names in derived classes. Change-Id: Id2c7e434cc972ac8a789c60ceaf54dc76246be12
2014-02-25remove unused code SvTreeListBox::SearchEntryText(SvTreeListEntry*)Noel Grandin
Change-Id: I18d76de5e3280e7efb4dd75bcd5bf819064176e3
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