summaryrefslogtreecommitdiff
path: root/vcl/source/filter/sgvmain.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/filter/sgvmain.cxx')
-rw-r--r--vcl/source/filter/sgvmain.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/filter/sgvmain.cxx b/vcl/source/filter/sgvmain.cxx
index 88020bedc5fb..ca754c28e4d9 100644
--- a/vcl/source/filter/sgvmain.cxx
+++ b/vcl/source/filter/sgvmain.cxx
@@ -794,7 +794,7 @@ bool SgfFilterSDrw( SvStream& rInp, SgfHeader&, SgfEntry&, GDIMetaFile& rMtf )
{
bool bRet = false;
PageType aPage;
- ScopedVclPtr<VirtualDevice> aOutDev( new VirtualDevice() );
+ ScopedVclPtrInstance< VirtualDevice > aOutDev;
OutputDevice* pOutDev;
sal_uLong nStdPos;
sal_uLong nCharPos;