[Libreoffice-commits] .: sfx2/inc sfx2/source unusedcode.easy
Julien Nabet
serval2412 at kemper.freedesktop.org
Thu Aug 9 07:24:30 PDT 2012
sfx2/inc/sfx2/thumbnailview.hxx | 1 -
sfx2/source/control/thumbnailview.cxx | 5 -----
unusedcode.easy | 1 -
3 files changed, 7 deletions(-)
New commits:
commit 282917d574d6df820ddb5583b8bbf17fc7af6b7a
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Thu Aug 9 16:23:21 2012 +0200
Bin ThumbnailView::ImplGetFirstItem()
Change-Id: I212af5f0f6d3ad4df6492c593da51eaa4b34948d
diff --git a/sfx2/inc/sfx2/thumbnailview.hxx b/sfx2/inc/sfx2/thumbnailview.hxx
index a5102e3..9a9e516 100644
--- a/sfx2/inc/sfx2/thumbnailview.hxx
+++ b/sfx2/inc/sfx2/thumbnailview.hxx
@@ -312,7 +312,6 @@ protected:
SFX2_DLLPRIVATE bool ImplScroll( const Point& rPos );
SFX2_DLLPRIVATE size_t ImplGetItem( const Point& rPoint, bool bMove = false ) const;
SFX2_DLLPRIVATE ThumbnailViewItem* ImplGetItem( size_t nPos );
- SFX2_DLLPRIVATE ThumbnailViewItem* ImplGetFirstItem();
SFX2_DLLPRIVATE sal_uInt16 ImplGetVisibleItemCount() const;
SFX2_DLLPRIVATE ThumbnailViewItem* ImplGetVisibleItem( sal_uInt16 nVisiblePos );
SFX2_DLLPRIVATE void ImplInsertItem( ThumbnailViewItem *const pItem, const size_t nPos );
diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx
index c736182..ad2f5b8 100644
--- a/sfx2/source/control/thumbnailview.cxx
+++ b/sfx2/source/control/thumbnailview.cxx
@@ -452,11 +452,6 @@ ThumbnailViewItem* ThumbnailView::ImplGetItem( size_t nPos )
return ( nPos < mItemList.size() ) ? mItemList[nPos] : NULL;
}
-ThumbnailViewItem* ThumbnailView::ImplGetFirstItem()
-{
- return mItemList.empty() ? NULL : mItemList[0];
-}
-
sal_uInt16 ThumbnailView::ImplGetVisibleItemCount() const
{
sal_uInt16 nRet = 0;
diff --git a/unusedcode.easy b/unusedcode.easy
index ff81200..4681351 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -29,7 +29,6 @@ SvxPositionSizeTabPage::GetRect()
TempFile::IsValid() const
TextEngine::GetLeftMargin() const
ThumbnailView::GetItemCount() const
-ThumbnailView::ImplGetFirstItem()
ThumbnailView::InsertItem(unsigned short, BitmapEx const&, rtl::OUString const&, unsigned long)
ThumbnailView::LinkStubImplTimerHdl(void*, void*)
ThumbnailView::SetColCount(unsigned short)
More information about the Libreoffice-commits
mailing list