[Libreoffice-commits] .: sfx2/inc sfx2/source unusedcode.easy
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Dec 14 15:25:31 PST 2012
sfx2/inc/sfx2/thumbnailview.hxx | 2 --
sfx2/source/control/thumbnailview.cxx | 11 -----------
unusedcode.easy | 1 -
3 files changed, 14 deletions(-)
New commits:
commit edf999c3f42cc97a0340cf253a80885a24cedf24
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Dec 15 00:23:23 2012 +0100
Remove unused ThumbnailView::GetScrollWidth()
Change-Id: I8d3337e6ff30276c9de6c5de4836ea75ed6c8d99
diff --git a/sfx2/inc/sfx2/thumbnailview.hxx b/sfx2/inc/sfx2/thumbnailview.hxx
index 9548bd1..bc5aae9 100644
--- a/sfx2/inc/sfx2/thumbnailview.hxx
+++ b/sfx2/inc/sfx2/thumbnailview.hxx
@@ -227,8 +227,6 @@ public:
bool IsColor() const { return maColor.GetTransparency() == 0; }
- long GetScrollWidth() const;
-
void filterItems (const boost::function<bool (const ThumbnailViewItem*) > &func);
void sortItems (const boost::function<bool (const ThumbnailViewItem*,
diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx
index 06942e5..b9b0e89 100644
--- a/sfx2/source/control/thumbnailview.cxx
+++ b/sfx2/source/control/thumbnailview.cxx
@@ -945,17 +945,6 @@ bool ThumbnailView::StartDrag( const CommandEvent& rCEvt, Region& rRegion )
return true;
}
-long ThumbnailView::GetScrollWidth() const
-{
- if ( GetStyle() & WB_VSCROLL )
- {
- ((ThumbnailView*)this)->ImplInitScrollBar();
- return mpScrBar->GetSizePixel().Width()+mnScrBarOffset;
- }
- else
- return 0;
-}
-
void ThumbnailView::filterItems (const boost::function<bool (const ThumbnailViewItem*) > &func)
{
mnFirstLine = 0; // start at the top of the list instead of the current position
diff --git a/unusedcode.easy b/unusedcode.easy
index 7ef0ae2..cce5489 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -10,7 +10,6 @@ ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
SfxDocumentTemplateDlg::SfxDocumentTemplateDlg(Window*, SfxDocumentTemplates*)
TextEngine::GetLeftMargin() const
-ThumbnailView::GetScrollWidth() const
ThumbnailViewItemAcc::FireAccessibleEvent(short, com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)
TransitionScene::clear()
UnoControl::UnoControl()
More information about the Libreoffice-commits
mailing list