From d3035126aa8d35130a12263d052c3360a1e57cc5 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Sun, 4 Sep 2016 20:19:32 +0900 Subject: starmath: Pass offset by const ref Change-Id: Ideb32c7c5d43ff8d1ed9882c4c2654bec5239267 Reviewed-on: https://gerrit.libreoffice.org/28664 Tested-by: Jenkins Reviewed-by: Takeshi Abe --- starmath/inc/visitors.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'starmath/inc/visitors.hxx') diff --git a/starmath/inc/visitors.hxx b/starmath/inc/visitors.hxx index a80a6f6ad03b..3a1a0c0a6bb9 100644 --- a/starmath/inc/visitors.hxx +++ b/starmath/inc/visitors.hxx @@ -390,7 +390,7 @@ class SmSelectionDrawingVisitor : public SmDefaultingVisitor { public: /** Draws a selection on rDevice for the selection on pTree */ - SmSelectionDrawingVisitor( OutputDevice& rDevice, SmNode* pTree, Point Offset ); + SmSelectionDrawingVisitor( OutputDevice& rDevice, SmNode* pTree, const Point& rOffset ); virtual ~SmSelectionDrawingVisitor() {} void Visit( SmTextNode* pNode ) override; using SmDefaultingVisitor::Visit; -- cgit