summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviewsc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/drviewsc.cxx')
-rw-r--r--sd/source/ui/view/drviewsc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/drviewsc.cxx b/sd/source/ui/view/drviewsc.cxx
index 3bbb3a7ef9ce..9f245cc9aa52 100644
--- a/sd/source/ui/view/drviewsc.cxx
+++ b/sd/source/ui/view/drviewsc.cxx
@@ -59,7 +59,7 @@ void DrawViewShell::UpdateIMapDlg( SdrObject* pObj )
Graphic aGraphic;
ImageMap* pIMap = nullptr;
TargetList* pTargetList = nullptr;
- SdIMapInfo* pIMapInfo = GetDoc()->GetIMapInfo( pObj );
+ SdIMapInfo* pIMapInfo = SdDrawDocument::GetIMapInfo( pObj );
// get graphic from shape
SdrGrafObj* pGrafObj = dynamic_cast< SdrGrafObj* >( pObj );