diff options
-rw-r--r-- | svtools/source/graphic/grfmgr.cxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/svtools/source/graphic/grfmgr.cxx b/svtools/source/graphic/grfmgr.cxx index 05c34a311f83..6c7c93326529 100644 --- a/svtools/source/graphic/grfmgr.cxx +++ b/svtools/source/graphic/grfmgr.cxx @@ -160,6 +160,9 @@ void GraphicObject::ImplAssignGraphicData() mbAnimated = maGraphic.IsAnimated(); mbEPS = maGraphic.IsEPS(); mnAnimationLoopCount = ( mbAnimated ? maGraphic.GetAnimationLoopCount() : 0 ); + + // Handle evtl. needed AfterDataChanges + ImplAfterDataChange(); } void GraphicObject::ImplSetGraphicManager( const GraphicManager* pMgr, const OString* pID, const GraphicObject* pCopyObj ) @@ -260,9 +263,6 @@ void GraphicObject::ImplAutoSwapIn() if( !mbAutoSwapped && mpMgr ) mpMgr->ImplGraphicObjectWasSwappedIn( *this ); } - - // Handle evtl. needed AfterDataChanges - ImplAfterDataChange(); } } @@ -800,8 +800,7 @@ void GraphicObject::SetGraphic( const Graphic& rGraphic, const GraphicObject* pC if( mpSwapOutTimer ) mpSwapOutTimer->Start(); - // Handle evtl. needed AfterDataChanges - ImplAfterDataChange(); + } void GraphicObject::SetGraphic( const Graphic& rGraphic, const OUString& rLink ) @@ -1132,9 +1131,6 @@ bool GraphicObject::SwapIn() if( bRet ) { ImplAssignGraphicData(); - - // Handle evtl. needed AfterDataChanges - ImplAfterDataChange(); } return bRet; |