From d0b590fe19b45e2248adff22c6fe61a4049a7db8 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 8 Dec 2012 18:09:45 +0000 Subject: callcatcher: remove unused rtf filter and associated methods update and remove newly unused code, mostly original rtf filter Change-Id: I2dd302851ee6fad62d79fbc81cb8a61a861396db --- svtools/inc/svtools/grfmgr.hxx | 1 - svtools/source/graphic/grfmgr.cxx | 25 ------------------------- 2 files changed, 26 deletions(-) (limited to 'svtools') diff --git a/svtools/inc/svtools/grfmgr.hxx b/svtools/inc/svtools/grfmgr.hxx index fb1a0aea1f9b..eca0aeb7949b 100644 --- a/svtools/inc/svtools/grfmgr.hxx +++ b/svtools/inc/svtools/grfmgr.hxx @@ -430,7 +430,6 @@ public: sal_Bool SwapOut(); sal_Bool SwapOut( SvStream* pOStm ); sal_Bool SwapIn(); - sal_Bool SwapIn( SvStream* pIStm ); sal_Bool IsInSwapIn() const { return mbIsInSwapIn; } sal_Bool IsInSwapOut() const { return mbIsInSwapOut; } diff --git a/svtools/source/graphic/grfmgr.cxx b/svtools/source/graphic/grfmgr.cxx index 6ca4d7d9a11e..438c2df61a28 100644 --- a/svtools/source/graphic/grfmgr.cxx +++ b/svtools/source/graphic/grfmgr.cxx @@ -1038,31 +1038,6 @@ sal_Bool GraphicObject::SwapIn() return bRet; } -sal_Bool GraphicObject::SwapIn( SvStream* pIStm ) -{ - sal_Bool bRet; - - if( mbAutoSwapped ) - { - ImplAutoSwapIn(); - bRet = sal_True; - } - else if( mpMgr && mpMgr->ImplFillSwappedGraphicObject( *this, maGraphic ) ) - bRet = sal_True; - else - { - bRet = maGraphic.SwapIn( pIStm ); - - if( bRet && mpMgr ) - mpMgr->ImplGraphicObjectWasSwappedIn( *this ); - } - - if( bRet ) - ImplAssignGraphicData(); - - return bRet; -} - void GraphicObject::SetSwapState() { if( !IsSwappedOut() ) -- cgit