diff options
Diffstat (limited to 'sd/source/core/drawdoc2.cxx')
-rw-r--r-- | sd/source/core/drawdoc2.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sd/source/core/drawdoc2.cxx b/sd/source/core/drawdoc2.cxx index cb781e1cb1e8..21b2f1e29e0a 100644 --- a/sd/source/core/drawdoc2.cxx +++ b/sd/source/core/drawdoc2.cxx @@ -1210,6 +1210,17 @@ IMapObject* SdDrawDocument::GetHitIMapObject( SdrObject* pObj, return pIMapObj; } +//IAccessibility2 Implementation 2009----- +ImageMap* SdDrawDocument::GetImageMapForObject(SdrObject* pObj) +{ + SdIMapInfo* pIMapInfo = GetIMapInfo( pObj ); + if ( pIMapInfo ) + { + return const_cast<ImageMap*>( &(pIMapInfo->GetImageMap()) ); + } + return NULL; +} +//-----IAccessibility2 Implementation 2009 /** this method enforces that the masterpages are in the currect order, that is at position 1 is a PK_STANDARD masterpage followed by a PK_NOTES masterpage and so on. # |