From 2a7c07e2e5fbdce057aaecb87231c62d98981bcb Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Wed, 1 Feb 2012 10:38:57 -0500 Subject: InsertData to AppendData, to hide the insert position. Only a few places in sc specified insert position, and those were not strictly necessary. --- svx/source/gallery2/galtheme.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx/source/gallery2') diff --git a/svx/source/gallery2/galtheme.cxx b/svx/source/gallery2/galtheme.cxx index c64fbb6938f3..de4de7350e8f 100644 --- a/svx/source/gallery2/galtheme.cxx +++ b/svx/source/gallery2/galtheme.cxx @@ -1310,7 +1310,7 @@ sal_Bool GalleryTheme::InsertTransferable( const uno::Reference< datatransfer::X SdrPage* pPage = aModel.GetModel()->GetPage(0); SdrGrafObj* pGrafObj = new SdrGrafObj( *pGraphic ); - pGrafObj->InsertUserData( new SgaIMapInfo( aImageMap ) ); + pGrafObj->AppendUserData( new SgaIMapInfo( aImageMap ) ); pPage->InsertObject( pGrafObj ); bRet = InsertModel( *aModel.GetModel(), nInsertPos ); } -- cgit