diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/doc/notxtfrm.cxx | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/sw/source/core/doc/notxtfrm.cxx b/sw/source/core/doc/notxtfrm.cxx index 4aae97a40690..6d503dce45fa 100644 --- a/sw/source/core/doc/notxtfrm.cxx +++ b/sw/source/core/doc/notxtfrm.cxx @@ -743,29 +743,8 @@ void SwNoTextFrame::Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew ) case RES_GRF_REREAD_AND_INCACHE: if( SwNodeType::Grf == GetNode()->GetNodeType() ) { + // TODO: Remove - due to GraphicObject refactoring bComplete = false; - SwGrfNode* pNd = static_cast<SwGrfNode*>( GetNode()); - - SwViewShell* pVSh = pNd->GetDoc()->getIDocumentLayoutAccess().GetCurrentViewShell(); - if( pVSh ) - { - GraphicAttr aAttr; - if( pNd->GetGrfObj().IsCached( pVSh->GetOut(), - getFramePrintArea().SSize(), &pNd->GetGraphicAttr( aAttr, this ) )) - { - for(SwViewShell& rShell : pVSh->GetRingContainer()) - { - SET_CURR_SHELL( &rShell ); - if( rShell.GetWin() ) - { - if( rShell.IsPreview() ) - ::RepaintPagePreview( &rShell, getFrameArea().SVRect() ); - else - rShell.GetWin()->Invalidate( getFrameArea().SVRect() ); - } - } - } - } } break; |