summaryrefslogtreecommitdiff
path: root/vcl/source/filter/wmf/emfwr.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/filter/wmf/emfwr.hxx')
-rw-r--r--vcl/source/filter/wmf/emfwr.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/filter/wmf/emfwr.hxx b/vcl/source/filter/wmf/emfwr.hxx
index 3e9f2fc151fb..d037bdeb9d6c 100644
--- a/vcl/source/filter/wmf/emfwr.hxx
+++ b/vcl/source/filter/wmf/emfwr.hxx
@@ -90,7 +90,7 @@ private:
public:
EMFWriter(SvStream &rStream)
- : maVDev( new VirtualDevice() )
+ : maVDev( VclPtr<VirtualDevice>::Create() )
, m_rStm(rStream)
, mpHandlesUsed(NULL)
, mnHandleCount(0)