diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-02-01 10:38:57 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-02-01 20:21:04 -0500 |
commit | 2a7c07e2e5fbdce057aaecb87231c62d98981bcb (patch) | |
tree | f18fb28b3ec85955de96e5cdce6a74ea5b38186a /svx/source/gallery2 | |
parent | 513bbdf9c4664e2677537acb9387df84349529cd (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.cxx | 2 |
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 ); } |