diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-10-07 12:03:56 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-10-07 12:07:43 +0200 |
commit | cff185e438f2db564d0309f1c790cd79be908351 (patch) | |
tree | 0deed93a9d1d5fac61c294bdfd4ea2123f6e86fd /sd/source/ui/view | |
parent | a360d0b33a66be1ae190196e39c12b0494ba2840 (diff) |
loplugin:staticmethods: sd
Change-Id: I150a2f4011981be28a0a8fc09c29d3f152bd8b78
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r-- | sd/source/ui/view/drviewsc.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/view/drviewsg.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/view/sdview2.cxx | 2 |
3 files changed, 3 insertions, 3 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 ); diff --git a/sd/source/ui/view/drviewsg.cxx b/sd/source/ui/view/drviewsg.cxx index 81fe3a7aba62..4123cc44ccae 100644 --- a/sd/source/ui/view/drviewsg.cxx +++ b/sd/source/ui/view/drviewsg.cxx @@ -59,7 +59,7 @@ void DrawViewShell::ExecIMap( SfxRequest& rReq ) if ( pDlg->GetEditingObject() == static_cast<void*>(pSdrObj) ) { const ImageMap& rImageMap = pDlg->GetImageMap(); - SdIMapInfo* pIMapInfo = GetDoc()->GetIMapInfo( pSdrObj ); + SdIMapInfo* pIMapInfo = SdDrawDocument::GetIMapInfo( pSdrObj ); if ( !pIMapInfo ) pSdrObj->AppendUserData( new SdIMapInfo( rImageMap ) ); diff --git a/sd/source/ui/view/sdview2.cxx b/sd/source/ui/view/sdview2.cxx index 574e456a12ef..ddae5e886756 100644 --- a/sd/source/ui/view/sdview2.cxx +++ b/sd/source/ui/view/sdview2.cxx @@ -726,7 +726,7 @@ sal_Int8 View::ExecuteDrop( const ExecuteDropEvent& rEvt, { // insert as clip action => jump OUString aBookmark( aINetBookmark.GetURL() ); - SdAnimationInfo* pInfo = mrDoc.GetAnimationInfo( pPickObj ); + SdAnimationInfo* pInfo = SdDrawDocument::GetAnimationInfo( pPickObj ); if( !aBookmark.isEmpty() ) { |