diff options
Diffstat (limited to 'svx/source/tbxctrls/fontworkgallery.cxx')
-rw-r--r-- | svx/source/tbxctrls/fontworkgallery.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/fontworkgallery.cxx b/svx/source/tbxctrls/fontworkgallery.cxx index 1dadd4983cf5..d504705ce4c6 100644 --- a/svx/source/tbxctrls/fontworkgallery.cxx +++ b/svx/source/tbxctrls/fontworkgallery.cxx @@ -198,7 +198,7 @@ void FontWorkGalleryDialog::insertSelectedFontwork() if( pPage && pPage->GetObjCount() ) { // Clone directly to target SdrModel - SdrObject* pNewObject(pPage->GetObj(0)->Clone(mpDestModel)); + SdrObject* pNewObject(pPage->GetObj(0)->CloneSdrObject(*mpDestModel)); // center shape on current view OutputDevice* pOutDev = mpSdrView->GetFirstOutputDevice(); |