summaryrefslogtreecommitdiff
path: root/vcl/quartz/cairo_quartz_cairo.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/quartz/cairo_quartz_cairo.cxx')
-rw-r--r--vcl/quartz/cairo_quartz_cairo.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/quartz/cairo_quartz_cairo.cxx b/vcl/quartz/cairo_quartz_cairo.cxx
index b3a05541c438..0b0835c8fb05 100644
--- a/vcl/quartz/cairo_quartz_cairo.cxx
+++ b/vcl/quartz/cairo_quartz_cairo.cxx
@@ -244,13 +244,13 @@ 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>(
- new VirtualDevice( &aSystemGraphicsData, Size(1, 1), getDepth() ));
+ return VclPtr<VirtualDevice>(
+ VclPtr<VirtualDevice>::Create( &aSystemGraphicsData, Size(1, 1), getDepth() ));
}
} // namespace cairo