From 7c99b5586d7cb145079129470fdbf720399eee3c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 12 Apr 2016 08:33:08 +0200 Subject: clang-tidy performance-unnecessary-value-param in sw Change-Id: I3e030743b640d5a5f6b3bf4a4e9ba50ccd001287 --- sw/inc/unotbl.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/inc/unotbl.hxx') diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx index a80a57dddfeb..f7ea6062db18 100644 --- a/sw/inc/unotbl.hxx +++ b/sw/inc/unotbl.hxx @@ -425,12 +425,12 @@ private: class Impl; ::sw::UnoImplPtr m_pImpl; - SwXCellRange(sw::UnoCursorPointer pCursor, SwFrameFormat& rFrameFormat, SwRangeDescriptor& rDesc); + SwXCellRange(const sw::UnoCursorPointer& pCursor, SwFrameFormat& rFrameFormat, SwRangeDescriptor& rDesc); virtual ~SwXCellRange(); public: static ::rtl::Reference CreateXCellRange( - sw::UnoCursorPointer pCursor, SwFrameFormat& rFrameFormat, + const sw::UnoCursorPointer& pCursor, SwFrameFormat& rFrameFormat, SwRangeDescriptor& rDesc); static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId(); -- cgit v1.2.3