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/unoidl | |
parent | a360d0b33a66be1ae190196e39c12b0494ba2840 (diff) |
loplugin:staticmethods: sd
Change-Id: I150a2f4011981be28a0a8fc09c29d3f152bd8b78
Diffstat (limited to 'sd/source/ui/unoidl')
-rw-r--r-- | sd/source/ui/unoidl/unoobj.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/unoobj.cxx b/sd/source/ui/unoidl/unoobj.cxx index d49a4a4560b4..b360cdd9c806 100644 --- a/sd/source/ui/unoidl/unoobj.cxx +++ b/sd/source/ui/unoidl/unoobj.cxx @@ -646,7 +646,7 @@ void SAL_CALL SdXShape::setPropertyValue( const OUString& aPropertyName, const c if( !xImageMap.is() || !SvUnoImageMap_fillImageMap( xImageMap, aImageMap ) ) throw lang::IllegalArgumentException(); - SdIMapInfo* pIMapInfo = pDoc->GetIMapInfo(pObj); + SdIMapInfo* pIMapInfo = SdDrawDocument::GetIMapInfo(pObj); if( pIMapInfo ) { // replace existing image map @@ -805,7 +805,7 @@ css::uno::Any SAL_CALL SdXShape::getPropertyValue( const OUString& PropertyName if( pDoc ) { - SdIMapInfo* pIMapInfo = pDoc->GetIMapInfo(mpShape->GetSdrObject()); + SdIMapInfo* pIMapInfo = SdDrawDocument::GetIMapInfo(mpShape->GetSdrObject()); if( pIMapInfo ) { const ImageMap& rIMap = pIMapInfo->GetImageMap(); |