diff options
Diffstat (limited to 'svx/inc/svdoopengl.hxx')
-rw-r--r-- | svx/inc/svdoopengl.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/inc/svdoopengl.hxx b/svx/inc/svdoopengl.hxx index e30baeacfd0a..8a438ccd24c4 100644 --- a/svx/inc/svdoopengl.hxx +++ b/svx/inc/svdoopengl.hxx @@ -30,7 +30,7 @@ public: virtual ~SdrOpenGLObj(); virtual sdr::contact::ViewContact* CreateObjectSpecificViewContact() SAL_OVERRIDE; - OpenGLContext* getOpenGLContext() { return mpContext;} + rtl::Reference<OpenGLContext> getOpenGLContext() { return mpContext;} virtual void NbcResize(const Point& rRef, const Fraction& xFact, const Fraction& yFact) SAL_OVERRIDE; @@ -41,7 +41,7 @@ public: private: - OpenGLContext* mpContext; + rtl::Reference<OpenGLContext> mpContext; boost::scoped_ptr<IOpenGLRenderer> mpRenderer; }; |