summaryrefslogtreecommitdiff
path: root/include/vcl/cairo.hxx
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 /include/vcl/cairo.hxx
parent23d833dd3fba1c05a7d7552de6037cf3723bbfcc (diff)
Move OutputDevice members to VclPtr: dbaccess, canvas.
Change-Id: Iae01ddcb6a0cde3be1bd79200e9177983be2f924
Diffstat (limited to 'include/vcl/cairo.hxx')
-rw-r--r--include/vcl/cairo.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/cairo.hxx b/include/vcl/cairo.hxx
index c8cc23e802b3..13983a84d63f 100644
--- a/include/vcl/cairo.hxx
+++ b/include/vcl/cairo.hxx
@@ -22,6 +22,7 @@
#include <sal/config.h>
#include <boost/shared_ptr.hpp>
+#include <vcl/vclptr.hxx>
typedef struct _cairo_surface cairo_surface_t;
typedef struct _cairo cairo_t;
@@ -49,7 +50,7 @@ namespace cairo {
virtual boost::shared_ptr<Surface> getSimilar(int cairo_content_type, int width, int height) const = 0;
/// factory for VirDev on this surface
- virtual boost::shared_ptr<VirtualDevice> createVirtualDevice() const = 0;
+ virtual VclPtr<VirtualDevice> createVirtualDevice() const = 0;
/// Resize the surface (possibly destroying content), only possible for X11 typically
/// so on failure caller must create a new surface instead