diff options
Diffstat (limited to 'slideshow/source/engine/shapes/gdimtftools.cxx')
-rw-r--r-- | slideshow/source/engine/shapes/gdimtftools.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/slideshow/source/engine/shapes/gdimtftools.cxx b/slideshow/source/engine/shapes/gdimtftools.cxx index 86ebae1a6358..de099219e11b 100644 --- a/slideshow/source/engine/shapes/gdimtftools.cxx +++ b/slideshow/source/engine/shapes/gdimtftools.cxx @@ -140,11 +140,10 @@ public: { // wrap bitmap into GDIMetafile GDIMetaFileSharedPtr xMtf(new GDIMetaFile); - ::Point aEmptyPoint; ::BitmapEx aBmpEx( aGraphic.GetBitmapEx() ); - xMtf->AddAction( new MetaBmpExAction( aEmptyPoint, + xMtf->AddAction( new MetaBmpExAction( Point(), aBmpEx ) ); xMtf->SetPrefSize( aBmpEx.GetPrefSize() ); xMtf->SetPrefMapMode( aBmpEx.GetPrefMapMode() ); |