diff options
Diffstat (limited to 'canvas/source/cairo/cairo_spritedevicehelper.hxx')
-rw-r--r-- | canvas/source/cairo/cairo_spritedevicehelper.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/canvas/source/cairo/cairo_spritedevicehelper.hxx b/canvas/source/cairo/cairo_spritedevicehelper.hxx index c541d9cf2a47..f7ad11205a67 100644 --- a/canvas/source/cairo/cairo_spritedevicehelper.hxx +++ b/canvas/source/cairo/cairo_spritedevicehelper.hxx @@ -59,11 +59,11 @@ namespace cairocanvas void notifySizeUpdate( const css::awt::Rectangle& rBounds ); void setSize( const ::basegfx::B2ISize& rSize ); - const ::cairo::SurfaceSharedPtr& getBufferSurface() { return mpBufferSurface; } - ::cairo::SurfaceSharedPtr const & getWindowSurface(); + const ::cairo::SurfaceSharedPtr& getBufferSurface() const { return mpBufferSurface; } + ::cairo::SurfaceSharedPtr const & getWindowSurface() const; ::cairo::SurfaceSharedPtr createSurface( const ::basegfx::B2ISize& rSize, int aContent ); ::cairo::SurfaceSharedPtr createSurface( BitmapSystemData const & rData, const Size& rSize ); - const ::basegfx::B2ISize& getSizePixel() { return maSize; } + const ::basegfx::B2ISize& getSizePixel() const { return maSize; } void flush(); private: |