summaryrefslogtreecommitdiff
path: root/vcl/inc/unx/salvd.h
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/unx/salvd.h
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/unx/salvd.h')
-rw-r--r--vcl/inc/unx/salvd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/unx/salvd.h b/vcl/inc/unx/salvd.h
index dbc489f63aab..8ad94eb6ee7d 100644
--- a/vcl/inc/unx/salvd.h
+++ b/vcl/inc/unx/salvd.h
@@ -45,7 +45,7 @@ class X11SalVirtualDevice : public SalVirtualDevice
public:
X11SalVirtualDevice(SalGraphics const *pGraphics, long &nDX, long &nDY,
- DeviceFormat eFormat, const SystemGraphicsData *pData, X11SalGraphics* pNewGraphics);
+ DeviceFormat eFormat, const SystemGraphicsData *pData, std::unique_ptr<X11SalGraphics> pNewGraphics);
virtual ~X11SalVirtualDevice() override;