diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-30 16:05:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-30 17:02:37 +0100 |
commit | 8c0a791b74005765b99a8d7bd6e2b5d2f998b7f3 (patch) | |
tree | 234874496d7a86c2894c73680882fa6b56ba2481 /editeng/source | |
parent | 81927879428e3fbdbc522faa801934453aaaff2b (diff) |
callcatcher: newly unused code
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/outliner/paralist.cxx | 12 | ||||
-rw-r--r-- | editeng/source/outliner/paralist.hxx | 2 |
2 files changed, 0 insertions, 14 deletions
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<Paragraph*>::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; |