summaryrefslogtreecommitdiff
path: root/vcl/inc/openglgdiimpl.hxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-11-30 04:55:46 +0100
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-12-01 07:37:06 +0100
commit8eeb02dcc1a4bc99b083b1a591b4a70003a1604f (patch)
tree41192f5d3308d7bbc48ec8c31e4b92c4fe491fea /vcl/inc/openglgdiimpl.hxx
parent1cbab726772e3c0eba74202043699584a00eb931 (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.hxx4
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;