diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-03 11:08:31 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-03-04 11:34:07 +0000 |
commit | 5b04c9063cc9dd77dc55c361df081812af38cdbd (patch) | |
tree | 827cd9405e68df853362ac6a021c4619bf4a6bc3 /filter | |
parent | bf48090e0a81c6490ee938eabaef4e791df85229 (diff) |
remove unused and commented out code
This code gets never called.
Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
Diffstat (limited to 'filter')
-rw-r--r-- | filter/inc/filter/msfilter/escherex.hxx | 2 | ||||
-rw-r--r-- | filter/source/msfilter/escherex.cxx | 19 |
2 files changed, 0 insertions, 21 deletions
diff --git a/filter/inc/filter/msfilter/escherex.hxx b/filter/inc/filter/msfilter/escherex.hxx index f4fb9393969d..33cde07ab2f4 100644 --- a/filter/inc/filter/msfilter/escherex.hxx +++ b/filter/inc/filter/msfilter/escherex.hxx @@ -1623,8 +1623,6 @@ public: SvStream& GetStream() const { return *mpOutStrm; } sal_uLong GetStreamPos() const { return mpOutStrm->Tell(); } - virtual sal_Bool SeekBehindRecHeader( sal_uInt16 nRecType ); // the stream has to be in front of a valid Record Headeror Atom - // features during the creation of the following Containers: // // ESCHER_DggContainer: a EscherDgg Atom is automatically being created and managed diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx index 75adc97ca68e..81a12ed86b00 100644 --- a/filter/source/msfilter/escherex.cxx +++ b/filter/source/msfilter/escherex.cxx @@ -4499,25 +4499,6 @@ void EscherEx::InsertAtCurrentPos( sal_uInt32 nBytes, bool bExpandEndOfAtom ) mpOutStrm->Seek( nCurPos ); } -sal_Bool EscherEx::SeekBehindRecHeader( sal_uInt16 nRecType ) -{ - sal_uInt32 nOldPos, nStreamEnd, nType, nSize; - - nOldPos = mpOutStrm->Tell(); - nStreamEnd = mpOutStrm->Seek( STREAM_SEEK_TO_END ); - mpOutStrm->Seek( nOldPos ); - while ( mpOutStrm->Tell() < nStreamEnd ) - { - *mpOutStrm >> nType >> nSize; - if ( ( nType >> 16 ) == nRecType ) - return sal_True; - if ( ( nType & 0xf ) != 0xf ) - mpOutStrm->SeekRel( nSize ); - } - mpOutStrm->Seek( nOldPos ); - return sal_False; -} - void EscherEx::InsertPersistOffset( sal_uInt32 nKey, sal_uInt32 nOffset ) { PtInsert( ESCHER_Persist_PrivateEntry | nKey, nOffset ); |