diff options
Diffstat (limited to 'drawinglayer/source/tools/converters.cxx')
-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 e64f7d3d84e0..2dd3d9d8d2ee 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()); + ScopedVclPtrInstance< VirtualDevice > maContent; // prepare vdev maContent->SetOutputSizePixel(aSizePixel, false); |