summaryrefslogtreecommitdiff
path: root/vcl/inc/opengl/x11
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-08-22 10:01:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-22 11:13:34 +0200
commitab0f8e61f663acd0bf30469b6abadca078906b64 (patch)
tree151fd6838a005c8d9e64a7059898a6b99b3112f0 /vcl/inc/opengl/x11
parent582aa81147557ace37b8ad4aea1bd153eb743c66 (diff)
pass X11SalGraphics around by std::unique_ptr
Change-Id: Id2fcf829e3ca0edcfcdd3d4daf31188ae5317b27 Reviewed-on: https://gerrit.libreoffice.org/59427 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/opengl/x11')
-rw-r--r--vcl/inc/opengl/x11/salvd.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/opengl/x11/salvd.hxx b/vcl/inc/opengl/x11/salvd.hxx
index 94aa6b2b9124..a77b9874e48b 100644
--- a/vcl/inc/opengl/x11/salvd.hxx
+++ b/vcl/inc/opengl/x11/salvd.hxx
@@ -35,7 +35,7 @@ public:
X11OpenGLSalVirtualDevice( SalGraphics const *pGraphics,
long nDX, long nDY,
const SystemGraphicsData *pData,
- X11SalGraphics* pNewGraphics);
+ std::unique_ptr<X11SalGraphics> pNewGraphics);
virtual ~X11OpenGLSalVirtualDevice() override;
// SalGeometryProvider