diff options
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); |