summaryrefslogtreecommitdiff
path: root/canvas/source/vcl/devicehelper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/vcl/devicehelper.hxx')
-rw-r--r--canvas/source/vcl/devicehelper.hxx2
1 files changed, 1 insertions, 1 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.