From b7ec6ddcf69df9617a2294298204096fc8e1557e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 27 Mar 2019 08:58:47 +0200 Subject: return by unique_ptr from NWGetPixmapFromScreen Change-Id: I26cde2c0a6b605f0d638bb252e0809ac6dece26a Reviewed-on: https://gerrit.libreoffice.org/69785 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/inc/unx/gtk/gtkgdi.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/inc') 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 NWGetPixmapFromScreen( tools::Rectangle srcRect, int nBgColor = 0 ); bool NWRenderPixmapToScreen( GdkX11Pixmap* pPixmap, GdkX11Pixmap* pMask, tools::Rectangle dstRect ); bool DoDrawNativeControl( GdkDrawable* pDrawable, -- cgit