diff options
Diffstat (limited to 'sw/source/core/frmedt/fecopy.cxx')
-rw-r--r-- | sw/source/core/frmedt/fecopy.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/frmedt/fecopy.cxx b/sw/source/core/frmedt/fecopy.cxx index 99fad85445a4..4f16f7df8f1f 100644 --- a/sw/source/core/frmedt/fecopy.cxx +++ b/sw/source/core/frmedt/fecopy.cxx @@ -1264,7 +1264,7 @@ bool SwFEShell::GetDrawObjGraphic( SotClipboardFormatId nFormat, Graphic& rGrf ) // Otherwise it could happen that for vector graphics // many MB's of memory are allocated. const Size aSz( GetSelectedFlyFrame()->getFramePrintArea().SSize() ); - ScopedVclPtrInstance< VirtualDevice > pVirtDev(*GetWin()); + ScopedVclPtrInstance< VirtualDevice > pVirtDev(*GetWin()->GetOutDev()); MapMode aTmp( MapUnit::MapTwip ); pVirtDev->SetMapMode( aTmp ); |