From 9760db660a3b9db267a9fc635e2cb1e4136cf5f3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 12 Apr 2016 08:38:35 +0200 Subject: clang-tidy performance-unnecessary-value-param in sc Change-Id: Ia2255e1e3f7a8834a4b5d2a6bbab2c6dd498d356 --- sc/source/filter/excel/xilink.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc/source/filter/excel/xilink.cxx') diff --git a/sc/source/filter/excel/xilink.cxx b/sc/source/filter/excel/xilink.cxx index 0ffbef66cf10..467cc99a5208 100644 --- a/sc/source/filter/excel/xilink.cxx +++ b/sc/source/filter/excel/xilink.cxx @@ -71,7 +71,7 @@ public: /** Reads a CRN record (external referenced cell) at the specified address. */ void ReadCrn( XclImpStream& rStrm, const XclAddress& rXclPos ); - void LoadCachedValues(ScExternalRefCache::TableTypeRef pCacheTable); + void LoadCachedValues(const ScExternalRefCache::TableTypeRef& pCacheTable); private: typedef std::shared_ptr< XclImpCrn > XclImpCrnRef; @@ -574,7 +574,7 @@ void XclImpSupbookTab::ReadCrn( XclImpStream& rStrm, const XclAddress& rXclPos ) maCrnList.push_back( crnRef ); } -void XclImpSupbookTab::LoadCachedValues(ScExternalRefCache::TableTypeRef pCacheTable) +void XclImpSupbookTab::LoadCachedValues(const ScExternalRefCache::TableTypeRef& pCacheTable) { if (maCrnList.empty()) return; -- cgit