From 8c0a791b74005765b99a8d7bd6e2b5d2f998b7f3 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 30 Sep 2011 16:05:49 +0100 Subject: callcatcher: newly unused code --- editeng/source/outliner/paralist.cxx | 12 ------------ editeng/source/outliner/paralist.hxx | 2 -- 2 files changed, 14 deletions(-) (limited to 'editeng/source') diff --git a/editeng/source/outliner/paralist.cxx b/editeng/source/outliner/paralist.cxx index 37effdf1c9ef..53e31fed23d7 100644 --- a/editeng/source/outliner/paralist.cxx +++ b/editeng/source/outliner/paralist.cxx @@ -180,18 +180,6 @@ void ParagraphList::MoveParagraphs( sal_uLong nStart, sal_uLong nDest, sal_uLong } } -Paragraph* ParagraphList::LastVisible() const -{ - std::vector::const_reverse_iterator iter; - for (iter = maEntries.rbegin(); iter != maEntries.rend(); ++iter) - { - if ((*iter)->IsVisible()) - break; - } - - return iter != maEntries.rend() ? *iter : NULL; -} - sal_Bool ParagraphList::HasChilds( Paragraph* pParagraph ) const { sal_uLong n = GetAbsPos( pParagraph ); diff --git a/editeng/source/outliner/paralist.hxx b/editeng/source/outliner/paralist.hxx index d57455168863..f4b0ae4cf0dc 100644 --- a/editeng/source/outliner/paralist.hxx +++ b/editeng/source/outliner/paralist.hxx @@ -57,8 +57,6 @@ public: void Remove( sal_uLong nPara ); void MoveParagraphs( sal_uLong nStart, sal_uLong nDest, sal_uLong nCount ); - Paragraph* LastVisible() const; - Paragraph* GetParent( Paragraph* pParagraph /*, sal_uInt16& rRelPos */ ) const; sal_Bool HasChilds( Paragraph* pParagraph ) const; sal_Bool HasHiddenChilds( Paragraph* pParagraph ) const; -- cgit