summaryrefslogtreecommitdiff
path: root/include/vcl/customweld.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-25 14:08:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-25 21:46:32 +0200
commitff3bdde2527123fc9e011ff0d93e958174632186 (patch)
tree07d86dceca57fc1c85ad208fb436d70ac7e648ab /include/vcl/customweld.hxx
parent305285bd1450bb847058a877b0dc2adface4e521 (diff)
loplugin:passstuffbyref
Change-Id: I785e96599bbda029adf4698d11d7f981750dec07 Reviewed-on: https://gerrit.libreoffice.org/54802 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/customweld.hxx')
-rw-r--r--include/vcl/customweld.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/customweld.hxx b/include/vcl/customweld.hxx
index 4eef04e85323..274db81bd781 100644
--- a/include/vcl/customweld.hxx
+++ b/include/vcl/customweld.hxx
@@ -36,7 +36,7 @@ public:
}
virtual tools::Rectangle GetFocusRect() { return tools::Rectangle(); }
virtual FactoryFunction GetUITestFactory() const { return nullptr; }
- Size GetOutputSizePixel() const { return m_aSize; }
+ Size const& GetOutputSizePixel() const { return m_aSize; }
void SetOutputSizePixel(const Size& rSize) { m_aSize = rSize; }
virtual void SetDrawingArea(weld::DrawingArea* pDrawingArea) { m_pDrawingArea = pDrawingArea; }
weld::DrawingArea* GetDrawingArea() const { return m_pDrawingArea; }