summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xelink.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-08-23 10:57:32 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-08-23 10:57:32 +0200
commitff28315af105b1ec934a9b7181fadda8face3697 (patch)
tree6f6241d3a1ce7339daa1e353f65dcf6f46269e70 /sc/source/filter/excel/xelink.cxx
parent690a1aa9dcf8ce98ec7f96a5980b571566152865 (diff)
Remaining clang-tidy misc-move-constructor-init
...by turning the relevant ctor parameters into "const &" (following 8f30da6386fa414b9fe4c704b294a978df77347b "Some clang-tidy misc-move-constructor-init"). Change-Id: I6686dabe2f05156d6ecd49aa76a3a1166ccac045
Diffstat (limited to 'sc/source/filter/excel/xelink.cxx')
-rw-r--r--sc/source/filter/excel/xelink.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xelink.cxx b/sc/source/filter/excel/xelink.cxx
index 54ae5516ce9f..7918d4679a02 100644
--- a/sc/source/filter/excel/xelink.cxx
+++ b/sc/source/filter/excel/xelink.cxx
@@ -193,7 +193,7 @@ class XclExpXct : public XclExpRecordBase, protected XclExpRoot
public:
explicit XclExpXct( const XclExpRoot& rRoot,
const OUString& rTabName, sal_uInt16 nSBTab,
- ScExternalRefCache::TableTypeRef xCacheTable );
+ ScExternalRefCache::TableTypeRef const & xCacheTable );
/** Returns the external sheet name. */
inline const XclExpString& GetTabName() const { return maTabName; }
@@ -1276,7 +1276,7 @@ void XclExpCrn::SaveXml( XclExpXmlStream& rStrm )
// Cached cells of a sheet ====================================================
XclExpXct::XclExpXct( const XclExpRoot& rRoot, const OUString& rTabName,
- sal_uInt16 nSBTab, ScExternalRefCache::TableTypeRef xCacheTable ) :
+ sal_uInt16 nSBTab, ScExternalRefCache::TableTypeRef const & xCacheTable ) :
XclExpRoot( rRoot ),
mxCacheTable( xCacheTable ),
maBoundRange( ScAddress::INITIALIZE_INVALID ),