diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-12 08:33:08 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-12 08:33:32 +0200 |
commit | 7c99b5586d7cb145079129470fdbf720399eee3c (patch) | |
tree | 71015148cefc130aa7d5b4ecd4e1284b4b2d7563 /sw/inc/textboxhelper.hxx | |
parent | dc0d98590f07c7dae4504b7ed0c0127794f032d8 (diff) |
clang-tidy performance-unnecessary-value-param in sw
Change-Id: I3e030743b640d5a5f6b3bf4a4e9ba50ccd001287
Diffstat (limited to 'sw/inc/textboxhelper.hxx')
-rw-r--r-- | sw/inc/textboxhelper.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/textboxhelper.hxx b/sw/inc/textboxhelper.hxx index 2b3e08738230..012869f533fe 100644 --- a/sw/inc/textboxhelper.hxx +++ b/sw/inc/textboxhelper.hxx @@ -64,7 +64,7 @@ public: /// If we have an associated TextFrame, then return that. static SwFrameFormat* findTextBox(const SwFrameFormat* pShape); - static SwFrameFormat* findTextBox(css::uno::Reference<css::drawing::XShape> xShape); + static SwFrameFormat* findTextBox(const css::uno::Reference<css::drawing::XShape>& xShape); /// Return the textbox rectangle of a draw shape (in twips). static Rectangle getTextRectangle(SwFrameFormat* pShape, bool bAbsolute = true); |