summaryrefslogtreecommitdiffstats
path: root/sfx2
Commit message (Collapse)AuthorAgeFilesLines
* loplugin:literaltoboolconversionStephan Bergmann2014-02-282-6/+6
| | | | Change-Id: Ic8d00f036ef439ae8e1184289edb3ba6a117e1f6
* sal_Bool -> bool in mostly vcl moduleChris Sherlock2014-02-282-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* remove unused code RecentDocsView::SetThumbnailSize(long)Noel Grandin2014-02-281-6/+0
| | | | Change-Id: I9a898fda8e494693f48d7611c07bd65e86c22bdf
* Remove unused OpenStatusListener_ImplStephan Bergmann2014-02-271-23/+0
| | | | | | | Unused since a7551a6a18fd46b4e287225c84807f9665db63ab "INTEGRATION: CWS fwk02ea (1.93.78); FILE MERGED." Change-Id: I090e8182a91c180bc8d875ba054ec3c94722d699
* cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann2014-02-2668-1072/+1072
| | | | Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
* Remove visual noise from sfx2Alexander Wilms2014-02-26100-769/+769
| | | | | | | Change-Id: I0f556a386ce64d154b695c2a35f808c94b9f0b7a Reviewed-on: https://gerrit.libreoffice.org/8310 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* remove unused code in sfx2::sidebarNoel Grandin2014-02-263-56/+0
| | | | | | | | removes these methods: sfx2::sidebar::Context::EvaluateMatch(std::vector<sfx2::sidebar::Context>) sfx2::sidebar::EnumContext::EvaluateMatch(std::vector<sfx2::sidebar::EnumContext>) Change-Id: I14314d526a5306530d0381ca8bf6ab150d3dd5a0
* Yet another one undefined comparison of 'const' and a 'non-const' iterators ↵Douglas Mencken2014-02-251-1/+1
| | | | | | | | | (hope the last one) Change-Id: Iefcd1f5561e5a8cac4152f16e72e8f628e9204a5 Reviewed-on: https://gerrit.libreoffice.org/8223 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* remove unused method SfxBindings::GetDispatchProvider_Impl()Noel Grandin2014-02-251-5/+0
| | | | Change-Id: Ie2a04a2b5056bf607911f9705c06b74b9637d211
* remove unused code SfxTemplatePanelControl::SetParagraphFamily()Noel Grandin2014-02-251-11/+0
| | | | Change-Id: Id2edc693bcac57ebc56db2115829f77c202d8f62
* writeble->writableCaolán McNamara2014-02-251-2/+2
| | | | Change-Id: If1617d6cbdafa989fa3134842dd2238d06a1d06e
* callcatcher: update unused codeCaolán McNamara2014-02-252-59/+0
| | | | Change-Id: Ia8e6abffb85b92ee4538fb0aeaee4e4aa18f2772
* Replace deprecated std::auto_ptr with boost::scoped_ptrTakeshi Abe2014-02-253-3/+9
| | | | Change-Id: I72b0e8b07bd7309a23d5635b7e0b7dbdc9c2c721
* Related: rhbz#1065807 rework #i66157# for multiple writable template dirsCaolán McNamara2014-02-241-14/+66
| | | | | | | | | | | | | | | | if there are multiple user-level template dirs then we should be able to remove/rename content in all of them, not just the default writable target. The target scenario here is to default to ~/Templates when it exists as the template dir, but to retain ~/.config/libreoffice/user/template in the dir for any pre-existing templates and to treat both as equivalent in terms of removing their content etc. i#66157# wanted to avoid remove extensions templates and other internal ones, so rework that logic to instead just be hands off internal templates and allow modification of the remainder Change-Id: I56afe991d4297ba692e914ae95ea02d68553f60a
* implicitboolconversion: warn about implicit conversion of call args to boolStephan Bergmann2014-02-241-2/+2
| | | | | | | | | | | | | | | ...to be able to find problems like 6e0bdf04add338b7d5b29fc7b3fc9f08cfd5e96f "sal_Bool arg of SetUseImagesInMenus was abused to squeeze '2' through it" earlier when converting occurrences of sal_Bool to bool. Restricting this check to function call arguments avoids too much noise while hopefully still catching all the relevant problems. (This check partially overlaps the pointertobool check, so implicit conversions from pointers to bool call arguments will now generate two loplugin warnings, but that's harmless.) Change-Id: I0b03b1d1615aaf8bc18e7a84c56fff3ef9903508
* fix 'delete' not working in the Template ManagerCaolán McNamara2014-02-241-4/+4
| | | | | | | regression from b29c078c7f193dd7dae74baf89fe1abb9264239c because if the search view widget is visible then its assumed that we are in search view mode Change-Id: I8e81ffa06d5d3ac50e110105c9444707fd4c41c6
* Replace exisiting TriState, AutoState with more generic TriStateStephan Bergmann2014-02-245-14/+14
| | | | Change-Id: Ida05478aae5a379775c671e0c2f2851d820d78be
* coverity#440977 Dereference after null checkCaolán McNamara2014-02-231-1/+1
| | | | Change-Id: I8350641f3b07e8a25080d4dfe7d9c212f89dd992
* fdo#74913 The delete style confirmation dialog asks the question now.Rachit Gupta2014-02-231-1/+1
| | | | | | | | Change-Id: I9d2ed3b233f83d05314c2ad1453be487b25d6be8 Reviewed-on: https://gerrit.libreoffice.org/8163 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Remove unneccessary commentsAlexander Wilms2014-02-23111-2012/+2012
| | | | | | | 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>
* coverity#441618 Dereference null return valueCaolán McNamara2014-02-231-1/+2
| | | | Change-Id: Id3e2ba08093bc618c17485122579898301df14d8
* Bug #63962 Dynamically scan the config directory for icon themesTobias Lippert2014-02-211-7/+7
| | | | | | | | | | | | | | | 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>
* vcl: sal_Bool -> boolStephan Bergmann2014-02-2129-94/+94
| | | | Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
* Add config option used when we try to link one huge object file.Matúš Kukan2014-02-211-0/+2
| | | | | | | In theory, it should not be used, we use it now to mark duplicated symbols from sdi slots as weak. See idl/source/objects/types.cxx. Change-Id: I3c6fccfb96884df6b9e6eb35b8615ba4d66ca208
* Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert2014-02-2019-1/+19
| | | | | | | | | | | | | 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>
* cid#1078824 Dereference before null checkNoel Grandin2014-02-201-1/+1
| | | | Change-Id: Ic68e7048786415a847a67723890a92cb542bbf80
* svl: sal_Bool -> boolStephan Bergmann2014-02-2018-124/+124
| | | | Change-Id: Ic31455a1f5ffffa35d4fdde901dd70734207b6f4
* unotools: sal_Bool -> boolStephan Bergmann2014-02-195-9/+9
| | | | Change-Id: I8051c0756e0474a5b4f748e0aa15a9922e82ea97
* vcl: CUPS printing: notify user if spooling failedMichael Stahl2014-02-181-0/+1
| | | | | | | CUPS does not accept jobs for a printer that has been stopped; pop up an error message in this case instead of silently ignoring failure. Change-Id: I1bc9120c9c9f438e350c964ed7ef29924a72ce78
* Resolves: fdo#75121 align checkbox with message textCaolán McNamara2014-02-181-0/+5
| | | | Change-Id: Ib8379cbdb6cf16f8799c1e34b9bd7ff2e62e27f4
* Use correct log areaTor Lillqvist2014-02-181-1/+1
| | | | Change-Id: Idcbb480be0c6bba1215bf75310cd6fc7bfd101a3
* assert() is too harsh here I think, use SAL_WARN_IF() insteadTor Lillqvist2014-02-181-1/+1
| | | | | | | | | | | | | I run into the assertion now in TiledLibreOffice, but if I drop the assert(), it still works. So let's just print a warning (that everybody will cheerfully ignore, ha ha) instead. I have no idea what this code actually is doing... (Originally the code had DBG_ASSERT(), which despite its name also just prints a warning, which I changed to a real assert() in 8293b29304716d6bd117ab233b1238e1385ae592 for some reason.) Change-Id: I928078aaf3648c8d04c59f271504c7d3b02e1bb5
* callcatcher: update unused code listsCaolán McNamara2014-02-185-49/+0
| | | | Change-Id: Ie975f8a970eec63b593933ebb2394db76d537c51
* tools: sal_Bool -> boolStephan Bergmann2014-02-181-1/+1
| | | | Change-Id: I3aad235d92b3972b44199294c0f3de65ad57f450
* comphelper: sal_Bool -> boolStephan Bergmann2014-02-173-3/+3
| | | | Change-Id: I6fc331ae0706f4bb193543011c8d4ae0a385fcc0
* Do not crash when no interfaces are registered.Matúš Kukan2014-02-171-8/+17
| | | | Change-Id: Idee3bb5821e8b46da78243f6396780b35f23e30a
* Resolves: fdo#72233 too long style names over-stretch dialogCaolán McNamara2014-02-172-7/+8
| | | | Change-Id: Id6f102a3def1928ad8f6b4d27eb32f8c69bdba49
* cid#705884 dereference before null checkNoel Grandin2014-02-171-1/+1
| | | | Change-Id: I55258bb30034b95f53134a9747088fc488796564
* cosmeticsMatúš Kukan2014-02-131-3/+2
| | | | Change-Id: Ice4f20db3a590568a7ae4ae59fa0c4ff13e59051
* Don't include filename extension in e-mail subjectStephan Bergmann2014-02-121-1/+1
| | | | | | ...as suggested to me by a user. Change-Id: Iaad83e761884b7b43cf92ebb10cf553df1b97cd0
* convert SvStream::operator>> methods to ReadXXX methodsNoel Grandin2014-02-123-19/+22
| | | | | | | | | | | 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>
* coverity#441125 Dereference after null checkCaolán McNamara2014-02-121-1/+1
| | | | Change-Id: Ia8046dc20ff46612ad3ffeba098bee079858e8da
* coverity#441010 Dereference after null checkCaolán McNamara2014-02-123-53/+46
| | | | Change-Id: I3f35f2ed2154f75303d561efecd1638b73872b61
* coverity#440982 Dereference after null checkCaolán McNamara2014-02-121-3/+5
| | | | Change-Id: I5e19801311c2cb038b6e1c5e7e52a6022f62ea86
* coverity#440973 Dereference after null checkCaolán McNamara2014-02-121-0/+1
| | | | Change-Id: I24caa53a66da4d724e4f8e5d4b06c7d3e9633f5e
* coverity#708164 Uninitialized scalar fieldCaolán McNamara2014-02-121-6/+11
| | | | Change-Id: I7de5d34dc2964f91cb4daa0eb754f9ad02e83667
* callcatcher: update unused codeCaolán McNamara2014-02-122-37/+0
| | | | Change-Id: Iaaad9302ef8edb47fa95ce8ca608b6f36449521b
* cid#705226 missing break in switchNoel Grandin2014-02-121-0/+1
| | | | Change-Id: Id9457d2e7a6778fee9fa5ec32d2bb97cb8b7d296
* coverity#1130420 improper use of negativeNoel Grandin2014-02-121-1/+1
| | | | Change-Id: I463764faffb1013a8c8d10c64695289080c3205c
* coverity#1130402 Missing break in switchCaolán McNamara2014-02-111-0/+2
| | | | Change-Id: Ifd86d24bb6a7957d4da392bed3f5ebda8d0fa690