diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-03-27 08:58:47 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-03-27 12:25:04 +0100 |
commit | b7ec6ddcf69df9617a2294298204096fc8e1557e (patch) | |
tree | 7863e52bb0e730918ad40f8568618dafc821911f /vcl/inc | |
parent | b07a990e51f9bef637cfdcb31b904c223d7ce738 (diff) |
return by unique_ptr from NWGetPixmapFromScreen
Change-Id: I26cde2c0a6b605f0d638bb252e0809ac6dece26a
Reviewed-on: https://gerrit.libreoffice.org/69785
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/unx/gtk/gtkgdi.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/unx/gtk/gtkgdi.hxx b/vcl/inc/unx/gtk/gtkgdi.hxx index ee42a2baf433..707b0a2918c2 100644 --- a/vcl/inc/unx/gtk/gtkgdi.hxx +++ b/vcl/inc/unx/gtk/gtkgdi.hxx @@ -295,7 +295,7 @@ public: protected: - GdkX11Pixmap* NWGetPixmapFromScreen( tools::Rectangle srcRect, int nBgColor = 0 ); + std::unique_ptr<GdkX11Pixmap> NWGetPixmapFromScreen( tools::Rectangle srcRect, int nBgColor = 0 ); bool NWRenderPixmapToScreen( GdkX11Pixmap* pPixmap, GdkX11Pixmap* pMask, tools::Rectangle dstRect ); bool DoDrawNativeControl( GdkDrawable* pDrawable, |