diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2016-09-04 20:19:32 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2016-09-05 20:21:18 +0000 |
commit | d3035126aa8d35130a12263d052c3360a1e57cc5 (patch) | |
tree | 8eea051c5cc6c7be3a4055f2d62491ad23d4ae0a /starmath/inc | |
parent | 9ee01c424e37f7cd76d2edf38e9bc5f6e988d18d (diff) |
starmath: Pass offset by const ref
Change-Id: Ideb32c7c5d43ff8d1ed9882c4c2654bec5239267
Reviewed-on: https://gerrit.libreoffice.org/28664
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/visitors.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |