summaryrefslogtreecommitdiff
path: root/svx/source/gallery2
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-02-01 10:38:57 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2012-02-01 20:21:04 -0500
commit2a7c07e2e5fbdce057aaecb87231c62d98981bcb (patch)
treef18fb28b3ec85955de96e5cdce6a74ea5b38186a /svx/source/gallery2
parent513bbdf9c4664e2677537acb9387df84349529cd (diff)
InsertData to AppendData, to hide the insert position.
Only a few places in sc specified insert position, and those were not strictly necessary.
Diffstat (limited to 'svx/source/gallery2')
-rw-r--r--svx/source/gallery2/galtheme.cxx2
1 files changed, 1 insertions, 1 deletions
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 );
}