diff options
Diffstat (limited to 'canvas/source/vcl')
-rw-r--r-- | canvas/source/vcl/devicehelper.hxx | 2 | ||||
-rw-r--r-- | canvas/source/vcl/spritedevicehelper.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/canvas/source/vcl/devicehelper.hxx b/canvas/source/vcl/devicehelper.hxx index 359f2b887c13..2a5d7ac2a42e 100644 --- a/canvas/source/vcl/devicehelper.hxx +++ b/canvas/source/vcl/devicehelper.hxx @@ -77,7 +77,7 @@ namespace vclcanvas css::uno::Reference< css::rendering::XColorSpace > getColorSpace() const; - OutDevProviderSharedPtr getOutDev() const { return mpOutDev; } + const OutDevProviderSharedPtr& getOutDev() const { return mpOutDev; } /** called when DumpScreenContent property is enabled on XGraphicDevice, and writes out bitmaps of current screen. diff --git a/canvas/source/vcl/spritedevicehelper.hxx b/canvas/source/vcl/spritedevicehelper.hxx index fc7e6ba51a60..8c5d7271c5d6 100644 --- a/canvas/source/vcl/spritedevicehelper.hxx +++ b/canvas/source/vcl/spritedevicehelper.hxx @@ -54,7 +54,7 @@ namespace vclcanvas css::uno::Any getSurfaceHandle() const; void dumpScreenContent() const; - BackBufferSharedPtr getBackBuffer() const { return mpBackBuffer; } + const BackBufferSharedPtr& getBackBuffer() const { return mpBackBuffer; } void notifySizeUpdate( const css::awt::Rectangle& rBounds ); |