diff options
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/inc/svtools/grfmgr.hxx | 1 | ||||
-rw-r--r-- | svtools/source/graphic/grfmgr.cxx | 25 |
2 files changed, 0 insertions, 26 deletions
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() ) |