diff options
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r-- | sd/source/ui/view/drviewsg.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/view/sdview3.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/view/sdview4.cxx | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sd/source/ui/view/drviewsg.cxx b/sd/source/ui/view/drviewsg.cxx index 9a9ad2a5d1bb..d93774562488 100644 --- a/sd/source/ui/view/drviewsg.cxx +++ b/sd/source/ui/view/drviewsg.cxx @@ -76,7 +76,7 @@ void DrawViewShell::ExecIMap( SfxRequest& rReq ) SdIMapInfo* pIMapInfo = GetDoc()->GetIMapInfo( pSdrObj ); if ( !pIMapInfo ) - pSdrObj->InsertUserData( new SdIMapInfo( rImageMap ) ); + pSdrObj->AppendUserData( new SdIMapInfo( rImageMap ) ); else pIMapInfo->SetImageMap( rImageMap ); diff --git a/sd/source/ui/view/sdview3.cxx b/sd/source/ui/view/sdview3.cxx index 78e3a3bdfd9e..70f2a7a1e707 100644 --- a/sd/source/ui/view/sdview3.cxx +++ b/sd/source/ui/view/sdview3.cxx @@ -967,7 +967,7 @@ sal_Bool View::InsertData( const TransferableDataHelper& rDataHelper, InsertObjectAtView( pObj, *pPV, nOptions ); if( pImageMap ) - pObj->InsertUserData( new SdIMapInfo( *pImageMap ) ); + pObj->AppendUserData( new SdIMapInfo( *pImageMap ) ); if ( pObj && pObj->IsChart() ) { @@ -1137,7 +1137,7 @@ sal_Bool View::InsertData( const TransferableDataHelper& rDataHelper, InsertObjectAtView( pObj, *pPV, nOptions ); if( pImageMap ) - pObj->InsertUserData( new SdIMapInfo( *pImageMap ) ); + pObj->AppendUserData( new SdIMapInfo( *pImageMap ) ); // let the object stay in loaded state after insertion pObj->Unload(); diff --git a/sd/source/ui/view/sdview4.cxx b/sd/source/ui/view/sdview4.cxx index afc2eb948f21..d953f73f21ad 100644 --- a/sd/source/ui/view/sdview4.cxx +++ b/sd/source/ui/view/sdview4.cxx @@ -150,7 +150,7 @@ SdrGrafObj* View::InsertGraphic( const Graphic& rGraphic, sal_Int8& rAction, } if (pImageMap) - pNewGrafObj->InsertUserData(new SdIMapInfo(*pImageMap)); + pNewGrafObj->AppendUserData(new SdIMapInfo(*pImageMap)); ReplaceObjectAtView(pPickObj, *pPV, pNewGrafObj); // maybe ReplaceObjectAtView @@ -229,7 +229,7 @@ SdrGrafObj* View::InsertGraphic( const Graphic& rGraphic, sal_Int8& rAction, { // replace object if (pImageMap) - pNewGrafObj->InsertUserData(new SdIMapInfo(*pImageMap)); + pNewGrafObj->AppendUserData(new SdIMapInfo(*pImageMap)); Rectangle aPickObjRect(pPickObj->GetCurrentBoundRect()); Size aPickObjSize(aPickObjRect.GetSize()); @@ -272,7 +272,7 @@ SdrGrafObj* View::InsertGraphic( const Graphic& rGraphic, sal_Int8& rAction, InsertObjectAtView(pNewGrafObj, *pPV, nOptions); if( pImageMap ) - pNewGrafObj->InsertUserData(new SdIMapInfo(*pImageMap)); + pNewGrafObj->AppendUserData(new SdIMapInfo(*pImageMap)); } } |