From b129ee5021b7f56dfd936d53a46d274880edc0a9 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Thu, 19 Mar 2015 17:21:42 +0000 Subject: Move OutputDevice members to VclPtr: dbaccess, canvas. Change-Id: Iae01ddcb6a0cde3be1bd79200e9177983be2f924 --- vcl/quartz/cairo_quartz_cairo.cxx | 4 ++-- vcl/quartz/cairo_quartz_cairo.hxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'vcl/quartz') diff --git a/vcl/quartz/cairo_quartz_cairo.cxx b/vcl/quartz/cairo_quartz_cairo.cxx index b3a05541c438..cec50a21b60d 100644 --- a/vcl/quartz/cairo_quartz_cairo.cxx +++ b/vcl/quartz/cairo_quartz_cairo.cxx @@ -244,12 +244,12 @@ namespace cairo * * @return The new virtual device **/ - boost::shared_ptr QuartzSurface::createVirtualDevice() const + VclPtr QuartzSurface::createVirtualDevice() const { SystemGraphicsData aSystemGraphicsData; aSystemGraphicsData.nSize = sizeof(SystemGraphicsData); aSystemGraphicsData.rCGContext = getCGContext(); - return boost::shared_ptr( + return VclPtr( new VirtualDevice( &aSystemGraphicsData, Size(1, 1), getDepth() )); } diff --git a/vcl/quartz/cairo_quartz_cairo.hxx b/vcl/quartz/cairo_quartz_cairo.hxx index a3f94d20abf3..9c31c42c6ab9 100644 --- a/vcl/quartz/cairo_quartz_cairo.hxx +++ b/vcl/quartz/cairo_quartz_cairo.hxx @@ -55,7 +55,7 @@ namespace cairo { virtual CairoSurfaceSharedPtr getCairoSurface() const { return mpSurface; } virtual SurfaceSharedPtr getSimilar( Content aContent, int width, int height ) const; - virtual boost::shared_ptr createVirtualDevice() const; + virtual VclPtr createVirtualDevice() const; virtual void flush() const; -- cgit v1.2.3