diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-11-30 04:55:46 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-12-01 07:37:06 +0100 |
commit | 8eeb02dcc1a4bc99b083b1a591b4a70003a1604f (patch) | |
tree | 41192f5d3308d7bbc48ec8c31e4b92c4fe491fea /vcl/inc/openglgdiimpl.hxx | |
parent | 1cbab726772e3c0eba74202043699584a00eb931 (diff) |
use boost::shared_ptr instead of manual ref counting
Change-Id: I3c2ed9b5641202ff965c3a0c833c8201b2b1548b
Diffstat (limited to 'vcl/inc/openglgdiimpl.hxx')
-rw-r--r-- | vcl/inc/openglgdiimpl.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/inc/openglgdiimpl.hxx b/vcl/inc/openglgdiimpl.hxx index 83c5bdb9ac46..bc813f180862 100644 --- a/vcl/inc/openglgdiimpl.hxx +++ b/vcl/inc/openglgdiimpl.hxx @@ -29,6 +29,8 @@ #include <tools/poly.hxx> #include <vcl/opengl/OpenGLContext.hxx> +#include <boost/shared_ptr.hpp> + class SalFrame; class SalVirtualDevice; @@ -36,7 +38,7 @@ class VCL_PLUGIN_PUBLIC OpenGLSalGraphicsImpl : public SalGraphicsImpl { protected: - OpenGLContext* mpContext; + boost::shared_ptr<OpenGLContext> mpContext; // clipping vcl::Region maClipRegion; |