diff options
Diffstat (limited to 'sw/source/core/graphic/ndgrf.cxx')
-rw-r--r-- | sw/source/core/graphic/ndgrf.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx index 5781e9eb20ab..539027c46e6f 100644 --- a/sw/source/core/graphic/ndgrf.cxx +++ b/sw/source/core/graphic/ndgrf.cxx @@ -35,6 +35,7 @@ #include <frmfmt.hxx> #include <doc.hxx> #include <IDocumentLinksAdministration.hxx> +#include <IDocumentLayoutAccess.hxx> #include <frmatr.hxx> #include <grfatr.hxx> #include <swtypes.hxx> @@ -215,7 +216,7 @@ bool SwGrfNode::ReRead( if( refLink.Is() ) { - if( getLayoutFrm( GetDoc()->GetCurrentLayout() ) ) + if( getLayoutFrm( GetDoc()->getIDocumentLayoutAccess().GetCurrentLayout() ) ) { SwMsgPoolItem aMsgHint( RES_GRF_REREAD_AND_INCACHE ); ModifyNotification( &aMsgHint, &aMsgHint ); |