summaryrefslogtreecommitdiff
path: root/svx/source/unodraw
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-03-20 10:31:48 +0000
committerMichael Meeks <michael.meeks@collabora.com>2015-04-10 12:27:19 +0100
commit047362988b5b9910b41ef6cc7d12a685d849bcae (patch)
tree55161f2f4790c6cbe86bfacc17f48ecbf74b96db /svx/source/unodraw
parent12f6e237b8b7b8ff9508edc9e348a387290c240c (diff)
vclptr: various mistakes fixed, and more ptr types converted.
Change-Id: Iba04ec828f7ce37fc6ede28a64f1c286d81ff705
Diffstat (limited to 'svx/source/unodraw')
-rw-r--r--svx/source/unodraw/UnoGraphicExporter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/unodraw/UnoGraphicExporter.cxx b/svx/source/unodraw/UnoGraphicExporter.cxx
index 9c10297095c5..adfbf587abec 100644
--- a/svx/source/unodraw/UnoGraphicExporter.cxx
+++ b/svx/source/unodraw/UnoGraphicExporter.cxx
@@ -907,7 +907,7 @@ bool GraphicExporter::GetGraphic( ExportSettings& rSettings, Graphic& aGraphic,
if( !bSingleGraphic )
{
// create a metafile for all shapes
- ScopedVclPtr<VirtualDevice> aOut;
+ ScopedVclPtr<VirtualDevice> aOut(new VirtualDevice());
// calculate bound rect for all shapes
Rectangle aBound;