summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xilink.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-12 08:38:35 +0200
committerNoel Grandin <noel@peralex.com>2016-04-12 10:16:25 +0200
commit9760db660a3b9db267a9fc635e2cb1e4136cf5f3 (patch)
treed1171573618144a72952de9fb45281b8ed1e7826 /sc/source/filter/excel/xilink.cxx
parent553f7e515d9183d50221bbda9e8e6a023e4d6c57 (diff)
clang-tidy performance-unnecessary-value-param in sc
Change-Id: Ia2255e1e3f7a8834a4b5d2a6bbab2c6dd498d356
Diffstat (limited to 'sc/source/filter/excel/xilink.cxx')
-rw-r--r--sc/source/filter/excel/xilink.cxx4
1 files changed, 2 insertions, 2 deletions
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;