summaryrefslogtreecommitdiff
path: root/canvas/source/cairo/cairo_canvasfont.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-03-19 17:21:42 +0000
committerMichael Meeks <michael.meeks@collabora.com>2015-04-10 12:22:58 +0100
commitb129ee5021b7f56dfd936d53a46d274880edc0a9 (patch)
tree6a4ba9d0c514c7bad71be91c9e60ca7512b46885 /canvas/source/cairo/cairo_canvasfont.cxx
parent23d833dd3fba1c05a7d7552de6037cf3723bbfcc (diff)
Move OutputDevice members to VclPtr: dbaccess, canvas.
Change-Id: Iae01ddcb6a0cde3be1bd79200e9177983be2f924
Diffstat (limited to 'canvas/source/cairo/cairo_canvasfont.cxx')
-rw-r--r--canvas/source/cairo/cairo_canvasfont.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/cairo/cairo_canvasfont.cxx b/canvas/source/cairo/cairo_canvasfont.cxx
index 62bf3e2a3a46..be07a54e3c56 100644
--- a/canvas/source/cairo/cairo_canvasfont.cxx
+++ b/canvas/source/cairo/cairo_canvasfont.cxx
@@ -63,7 +63,7 @@ namespace cairocanvas
// adjust to stretched/shrunk font
if( !::rtl::math::approxEqual( rFontMatrix.m00, rFontMatrix.m11) )
{
- OutputDevice* pOutDev( mpRefDevice->getOutputDevice() );
+ VclPtr<OutputDevice> pOutDev( mpRefDevice->getOutputDevice() );
if( pOutDev )
{