summaryrefslogtreecommitdiff
path: root/canvas/source/cairo/cairo_devicehelper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/cairo/cairo_devicehelper.hxx')
-rw-r--r--canvas/source/cairo/cairo_devicehelper.hxx2
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 );