diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-02-27 22:38:11 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-02-28 10:56:59 +0000 |
commit | 34d71c5a08639f6255704be0d4a7df2b6cf6c13f (patch) | |
tree | 3b9af6eb714861bf4393333dc11d5c86dcbd758a /tools | |
parent | use read_uInt16s_ToOUString instead of hand-crafted loop (diff) | |
download | core-34d71c5a08639f6255704be0d4a7df2b6cf6c13f.tar.gz core-34d71c5a08639f6255704be0d4a7df2b6cf6c13f.zip |
callcatcher: remove newly unused methods and update list
Diffstat (limited to 'tools')
-rw-r--r-- | tools/inc/tools/pstm.hxx | 4 | ||||
-rw-r--r-- | tools/source/ref/pstm.cxx | 17 |
2 files changed, 0 insertions, 21 deletions
diff --git a/tools/inc/tools/pstm.hxx b/tools/inc/tools/pstm.hxx index 125875cac8c4..6f1e8e9e98d9 100644 --- a/tools/inc/tools/pstm.hxx +++ b/tools/inc/tools/pstm.hxx @@ -202,10 +202,6 @@ class TOOLS_DLLPUBLIC SvPersistStream : public SvStream virtual sal_uIntPtr SeekPos( sal_uIntPtr nPos ); virtual void FlushData(); protected: - sal_uIntPtr GetCurMaxIndex( const SvPersistUIdx & ) const; - sal_uIntPtr GetCurMaxIndex() const - { return GetCurMaxIndex( aPUIdx ); } - void WriteObj( sal_uInt8 nHdr, SvPersistBase * pObj ); sal_uInt32 ReadObj( SvPersistBase * & rpObj, sal_Bool bRegister ); diff --git a/tools/source/ref/pstm.cxx b/tools/source/ref/pstm.cxx index 4956a6aa46f5..4c95a6fa6445 100644 --- a/tools/source/ref/pstm.cxx +++ b/tools/source/ref/pstm.cxx @@ -311,23 +311,6 @@ void SvPersistStream::FlushData() } /************************************************************************* -|* SvPersistStream::GetCurMaxIndex() -*************************************************************************/ -sal_uIntPtr SvPersistStream::GetCurMaxIndex( const SvPersistUIdx & rIdx ) const -{ - // const bekomme ich nicht den hoechsten Index - SvPersistUIdx * p = (SvPersistUIdx *)&rIdx; - // alten merken - sal_uIntPtr nCurIdx = p->GetCurIndex(); - p->Last(); - // Bereiche nicht ueberschneiden, deshalb nur groessere Indexe - sal_uIntPtr nMaxIdx = p->GetCurIndex(); - // wieder herstellen - p->Seek( nCurIdx ); - return nMaxIdx; -} - -/************************************************************************* |* SvPersistStream::GetIndex() *************************************************************************/ sal_uIntPtr SvPersistStream::GetIndex( SvPersistBase * pObj ) const |