summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
2014-03-05coverity#982309 Logically dead codeCaolán McNamara
Change-Id: Id05614cf8c90d1c845876e8a6592df8420d57d47
2014-03-05made ListBox handle more than 64k elements, fdo#61520 relatedEike Rathke
ListBox and related now handle up to sal_Int32 elements correctly. sal_Int32 instead of sal_Size or size_t because of UNO and a11y API. Also disentangled some of the mess of SvTreeList and other containers regarding sal_uInt16, sal_uLong, long, size_t, ... type mixtures. Change-Id: Idb6e0ae689dc5bc2cf980721972b57b0261e688a Reviewed-on: https://gerrit.libreoffice.org/8460 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-03-05HelpTabPage_Impl ResId variant is now unusedCaolán McNamara
Change-Id: I084aaae3f090b36e7f16c4cd2541613fc91d6490
2014-03-05convert help contents page to .uiCaolán McNamara
Change-Id: I9ffd2881bfbf51749d69d7fc1af2d74335d8e3f4
2014-03-05convert help search page to .uiCaolán McNamara
Change-Id: Ib40ab75ce04c60df29895b0b14450d507d67db23
2014-03-05convert help index page to .uiCaolán McNamara
Change-Id: I2d3b5311b8f40350f6d9524f802cb074c175ffaa
2014-03-05convert help bookmarks tabpage to .uiCaolán McNamara
Change-Id: I2bfbb2aa53729be1c12ccc3ca3dd8644aa4d5410
2014-03-05sal_Bool to boolMarkus Mohrhard
Change-Id: I866946a2a987a95a41cf2b32ed089568ff94b236
2014-03-05make sure we always set the filter name in the media descriptorMarkus Mohrhard
Change-Id: I659c87a0f0856a95a5f9c71180b1d595f0dc09fa
2014-03-05remove unused code in SfxBindingsNoel Grandin
SfxBindings::GetSlot(unsigned short) SfxBindings::GetSystemWindow() const Change-Id: Icc024abcde1394ade86d3f4e623e4030382d2b63
2014-03-05remove unused code SfxDispatcher::IsOnTop(SfxShell const&)Noel Grandin
Change-Id: I107f732cb0f26bf0546e6cf6181b4236a6ad7b49
2014-03-05remove unused code TemplateLocalView::HasUnfilteredItems(FILTER_APPLICATION)Noel Grandin
Change-Id: Ia4e8c6139b20f2370219d9e7b72e6b3083301ba0
2014-03-05remove unused code in ThumbnailViewNoel Grandin
ThumbnailView::DeselectItem(unsigned short) ThumbnailView::GetItemText(unsigned short) const ThumbnailView::SetColor(Color const&) Change-Id: Ifed909b3c6b32e7e553bee29fbf989963c733e69
2014-03-03minor comment changeTomaž Vajngerl
Change-Id: If917e7e9897db0fb486f4852feb0d73e951c8b74
2014-03-03fdo#61320: Allow user to choose whether to create thumbnails inside odf.christianju
Change-Id: I8c8129534ebcca32941ad76b201bb9a0243d8c3e
2014-03-03SFX2 : Remove usage of DBG_CTOR and DBG_DTOR.Arnaud Versini
Valgrind is capable of detecting such bugs. No need for extra macros. Change-Id: I35a9403da152ea2b637c0235d776c7789e2ef207 Reviewed-on: https://gerrit.libreoffice.org/8420 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-03remove unused code in sfx2::sidebarNoel Grandin
sfx2::sidebar::ContextList::IsEmpty() sfx2::sidebar::Deck::PrintWindowTree(std::vector<sfx2::sidebar::Panel*> > const&) sfx2::sidebar::EnumContext::EvaluateMatch(sfx2::sidebar::EnumContext const&) const sfx2::sidebar::EnumContext::GetContext() const sfx2::sidebar::Paint::Set(sfx2::sidebar::Paint const&) sfx2::sidebar::Panel::PrintWindowTree() sfx2::sidebar::SidebarDockingWindow::GetChildWindow() Change-Id: I285567320677a831b2b786f4f73b000eed39987b
2014-03-02coverity#704705 Dereference after null checkCaolán McNamara
Change-Id: I7571b8d05f96ce8a3bf8532d4def647b6815854a
2014-03-02coverity#704703 Dereference after null checkCaolán McNamara
Change-Id: I272a37a9935785d86ad76db3978cb658573e998c
2014-02-28loplugin:literaltoboolconversionStephan Bergmann
Change-Id: Ic8d00f036ef439ae8e1184289edb3ba6a117e1f6
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 RecentDocsView::SetThumbnailSize(long)Noel Grandin
Change-Id: I9a898fda8e494693f48d7611c07bd65e86c22bdf
2014-02-27Remove unused OpenStatusListener_ImplStephan Bergmann
Unused since a7551a6a18fd46b4e287225c84807f9665db63ab "INTEGRATION: CWS fwk02ea (1.93.78); FILE MERGED." Change-Id: I090e8182a91c180bc8d875ba054ec3c94722d699
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26Remove visual noise from sfx2Alexander Wilms
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>
2014-02-26remove unused code in sfx2::sidebarNoel Grandin
removes these methods: sfx2::sidebar::Context::EvaluateMatch(std::vector<sfx2::sidebar::Context>) sfx2::sidebar::EnumContext::EvaluateMatch(std::vector<sfx2::sidebar::EnumContext>) Change-Id: I14314d526a5306530d0381ca8bf6ab150d3dd5a0
2014-02-25Yet another one undefined comparison of 'const' and a 'non-const' iterators ↵Douglas Mencken
(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>
2014-02-25remove unused method SfxBindings::GetDispatchProvider_Impl()Noel Grandin
Change-Id: Ie2a04a2b5056bf607911f9705c06b74b9637d211
2014-02-25remove unused code SfxTemplatePanelControl::SetParagraphFamily()Noel Grandin
Change-Id: Id2edc693bcac57ebc56db2115829f77c202d8f62
2014-02-25writeble->writableCaolán McNamara
Change-Id: If1617d6cbdafa989fa3134842dd2238d06a1d06e
2014-02-25callcatcher: update unused codeCaolán McNamara
Change-Id: Ia8e6abffb85b92ee4538fb0aeaee4e4aa18f2772
2014-02-25Replace deprecated std::auto_ptr with boost::scoped_ptrTakeshi Abe
Change-Id: I72b0e8b07bd7309a23d5635b7e0b7dbdc9c2c721
2014-02-24Related: rhbz#1065807 rework #i66157# for multiple writable template dirsCaolán McNamara
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
2014-02-24implicitboolconversion: warn about implicit conversion of call args to boolStephan Bergmann
...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
2014-02-24fix 'delete' not working in the Template ManagerCaolán McNamara
regression from b29c078c7f193dd7dae74baf89fe1abb9264239c because if the search view widget is visible then its assumed that we are in search view mode Change-Id: I8e81ffa06d5d3ac50e110105c9444707fd4c41c6
2014-02-24Replace exisiting TriState, AutoState with more generic TriStateStephan Bergmann
Change-Id: Ida05478aae5a379775c671e0c2f2851d820d78be
2014-02-23coverity#440977 Dereference after null checkCaolán McNamara
Change-Id: I8350641f3b07e8a25080d4dfe7d9c212f89dd992
2014-02-23fdo#74913 The delete style confirmation dialog asks the question now.Rachit Gupta
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>
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#441618 Dereference null return valueCaolán McNamara
Change-Id: Id3e2ba08093bc618c17485122579898301df14d8
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-21Add config option used when we try to link one huge object file.Matúš Kukan
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
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-20cid#1078824 Dereference before null checkNoel Grandin
Change-Id: Ic68e7048786415a847a67723890a92cb542bbf80
2014-02-20svl: sal_Bool -> boolStephan Bergmann
Change-Id: Ic31455a1f5ffffa35d4fdde901dd70734207b6f4
2014-02-19unotools: sal_Bool -> boolStephan Bergmann
Change-Id: I8051c0756e0474a5b4f748e0aa15a9922e82ea97
2014-02-18vcl: CUPS printing: notify user if spooling failedMichael Stahl
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
2014-02-18Resolves: fdo#75121 align checkbox with message textCaolán McNamara
Change-Id: Ib8379cbdb6cf16f8799c1e34b9bd7ff2e62e27f4
2014-02-18Use correct log areaTor Lillqvist
Change-Id: Idcbb480be0c6bba1215bf75310cd6fc7bfd101a3