diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-03-20 18:58:34 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-10 13:01:49 +0100 |
commit | ad8a2074c6143d3ce05c0a5d93a553c13b950520 (patch) | |
tree | 2f47189a78e80d478a15a3360906131fc9c16428 /drawinglayer/source/tools | |
parent | 8fb4672aef888fc5a582ca9508799ecdbe777c42 (diff) |
cure a lot of unfortunate ScopedVclPtrs.
Change-Id: I2149511f958ba75e81dc41b10b01eb9d19610037
Diffstat (limited to 'drawinglayer/source/tools')
-rw-r--r-- | drawinglayer/source/tools/converters.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drawinglayer/source/tools/converters.cxx b/drawinglayer/source/tools/converters.cxx index e06356cabc82..e64f7d3d84e0 100644 --- a/drawinglayer/source/tools/converters.cxx +++ b/drawinglayer/source/tools/converters.cxx @@ -73,7 +73,7 @@ namespace drawinglayer const Point aEmptyPoint; const Size aSizePixel(nDiscreteWidth, nDiscreteHeight); geometry::ViewInformation2D aViewInformation2D(rViewInformation2D); - ScopedVclPtr<VirtualDevice> maContent = new VirtualDevice; + ScopedVclPtr<VirtualDevice> maContent(new VirtualDevice()); // prepare vdev maContent->SetOutputSizePixel(aSizePixel, false); |