diff options
Diffstat (limited to 'canvas/source/cairo/cairo_spritedevicehelper.hxx')
-rw-r--r-- | canvas/source/cairo/cairo_spritedevicehelper.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/cairo/cairo_spritedevicehelper.hxx b/canvas/source/cairo/cairo_spritedevicehelper.hxx index d0f164864072..750b97f5bf6a 100644 --- a/canvas/source/cairo/cairo_spritedevicehelper.hxx +++ b/canvas/source/cairo/cairo_spritedevicehelper.hxx @@ -60,7 +60,7 @@ namespace cairocanvas void notifySizeUpdate( const css::awt::Rectangle& rBounds ); void setSize( const ::basegfx::B2ISize& rSize ); - ::cairo::SurfaceSharedPtr getBufferSurface() { return mpBufferSurface; } + const ::cairo::SurfaceSharedPtr& getBufferSurface() { return mpBufferSurface; } ::cairo::SurfaceSharedPtr getWindowSurface(); ::cairo::SurfaceSharedPtr createSurface( const ::basegfx::B2ISize& rSize, int aContent = CAIRO_CONTENT_COLOR_ALPHA ); ::cairo::SurfaceSharedPtr createSurface( BitmapSystemData& rData, const Size& rSize ); |