summaryrefslogtreecommitdiff
path: root/vcl/quartz
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 /vcl/quartz
parent23d833dd3fba1c05a7d7552de6037cf3723bbfcc (diff)
Move OutputDevice members to VclPtr: dbaccess, canvas.
Change-Id: Iae01ddcb6a0cde3be1bd79200e9177983be2f924
Diffstat (limited to 'vcl/quartz')
-rw-r--r--vcl/quartz/cairo_quartz_cairo.cxx4
-rw-r--r--vcl/quartz/cairo_quartz_cairo.hxx2
2 files changed, 3 insertions, 3 deletions
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<VirtualDevice> QuartzSurface::createVirtualDevice() const
+ VclPtr<VirtualDevice> QuartzSurface::createVirtualDevice() const
{
SystemGraphicsData aSystemGraphicsData;
aSystemGraphicsData.nSize = sizeof(SystemGraphicsData);
aSystemGraphicsData.rCGContext = getCGContext();
- return boost::shared_ptr<VirtualDevice>(
+ return VclPtr<VirtualDevice>(
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<VirtualDevice> createVirtualDevice() const;
+ virtual VclPtr<VirtualDevice> createVirtualDevice() const;
virtual void flush() const;