summaryrefslogtreecommitdiff
path: root/canvas/source/vcl/devicehelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/vcl/devicehelper.cxx')
-rw-r--r--canvas/source/vcl/devicehelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/canvas/source/vcl/devicehelper.cxx b/canvas/source/vcl/devicehelper.cxx
index b1a9f61275f9..d5961df2b777 100644
--- a/canvas/source/vcl/devicehelper.cxx
+++ b/canvas/source/vcl/devicehelper.cxx
@@ -118,7 +118,7 @@ namespace vclcanvas
return uno::Reference< rendering::XBitmap >(
new CanvasBitmap( vcl::unotools::sizeFromIntegerSize2D(size),
false,
- *rDevice.get(),
+ *rDevice,
mpOutDev ) );
}
@@ -139,7 +139,7 @@ namespace vclcanvas
return uno::Reference< rendering::XBitmap >(
new CanvasBitmap( vcl::unotools::sizeFromIntegerSize2D(size),
true,
- *rDevice.get(),
+ *rDevice,
mpOutDev ) );
}