From 8447d31e529985ef7fc71933f0e55685530f9fc9 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 8 Jun 2018 12:29:09 +0200 Subject: return SalBitmap using std::shared_ptr since we hold it like that in Bitmap anyway Change-Id: I6264dfaaae6210cb008df5db8a421fc80c508f5b Reviewed-on: https://gerrit.libreoffice.org/55458 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/inc/unx/salgdi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/inc/unx/salgdi.h') diff --git a/vcl/inc/unx/salgdi.h b/vcl/inc/unx/salgdi.h index bc09b3e2be3a..9b656ac30223 100644 --- a/vcl/inc/unx/salgdi.h +++ b/vcl/inc/unx/salgdi.h @@ -217,7 +217,7 @@ public: const SalBitmap& rSalBitmap, Color nMaskColor ) override; - virtual SalBitmap* getBitmap( long nX, long nY, long nWidth, long nHeight ) override; + virtual std::shared_ptr getBitmap( long nX, long nY, long nWidth, long nHeight ) override; virtual Color getPixel( long nX, long nY ) override; virtual void invert( long nX, long nY, long nWidth, long nHeight, SalInvert nFlags ) override; virtual void invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert nFlags ) override; -- cgit