diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-21 20:03:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-22 09:34:35 +0200 |
commit | d5b07dc9c0185e59077e54c91792476dcbba8d44 (patch) | |
tree | fa77258288df99fe68fdd32846f804932def0269 /canvas/source/cairo/cairo_devicehelper.hxx | |
parent | f949d8665e83ece5648af0a73a675036067b88e2 (diff) |
loplugin:constmethod in canvas,comphelper
Change-Id: I8790355369159b2325d3992712b2f65e0401db86
Reviewed-on: https://gerrit.libreoffice.org/77930
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'canvas/source/cairo/cairo_devicehelper.hxx')
-rw-r--r-- | canvas/source/cairo/cairo_devicehelper.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/cairo/cairo_devicehelper.hxx b/canvas/source/cairo/cairo_devicehelper.hxx index a010e5b67a6d..6e59615c32b8 100644 --- a/canvas/source/cairo/cairo_devicehelper.hxx +++ b/canvas/source/cairo/cairo_devicehelper.hxx @@ -90,7 +90,7 @@ namespace cairocanvas void dumpScreenContent() const; OutputDevice* getOutputDevice() const { return mpRefDevice; } - const ::cairo::SurfaceSharedPtr& getSurface() { return mpSurface; } + const ::cairo::SurfaceSharedPtr& getSurface() const { return mpSurface; } ::cairo::SurfaceSharedPtr createSurface( const ::basegfx::B2ISize& rSize, int aContent ); ::cairo::SurfaceSharedPtr createSurface( BitmapSystemData const & rData, const Size& rSize ); |