diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-07-19 10:49:48 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-19 10:49:48 +0200 |
commit | 58806ee799072776e04d49d95dcba525575f9ce7 (patch) | |
tree | 8ba475a62b15c4c8415c896151a60ffc5482d25e /sc/inc | |
parent | a293ff34143f90c6836591fc1f4aa419342c5e1b (diff) |
clang-tidy performance-unnecessary-value-param in sc
Change-Id: I1941c050a385e3a1020c5d2495471f5805c4c180
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/externalrefmgr.hxx | 4 | ||||
-rw-r--r-- | sc/inc/tablink.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/externalrefmgr.hxx b/sc/inc/externalrefmgr.hxx index b9d1394a460a..cb1a0d8a8ff6 100644 --- a/sc/inc/externalrefmgr.hxx +++ b/sc/inc/externalrefmgr.hxx @@ -153,7 +153,7 @@ public: * false _only when_ adding a range of cell * values, for performance reasons. */ - SC_DLLPUBLIC void setCell(SCCOL nCol, SCROW nRow, TokenRef pToken, sal_uLong nFmtIndex = 0, bool bSetCacheRange = true); + SC_DLLPUBLIC void setCell(SCCOL nCol, SCROW nRow, TokenRef const & pToken, sal_uLong nFmtIndex = 0, bool bSetCacheRange = true); SC_DLLPUBLIC TokenRef getCell(SCCOL nCol, SCROW nRow, sal_uInt32* pnFmtIndex = nullptr) const; bool hasRow( SCROW nRow ) const; /** Set/clear referenced status flag only if current status is not @@ -237,7 +237,7 @@ public: void setRangeName(sal_uInt16 nFileId, const OUString& rName); void setCellData(sal_uInt16 nFileId, const OUString& rTabName, - SCCOL nCol, SCROW nRow, TokenRef pToken, sal_uLong nFmtIndex); + SCCOL nCol, SCROW nRow, TokenRef const & pToken, sal_uLong nFmtIndex); struct SingleRangeData { diff --git a/sc/inc/tablink.hxx b/sc/inc/tablink.hxx index f50ad00765cd..31f005bb6f59 100644 --- a/sc/inc/tablink.hxx +++ b/sc/inc/tablink.hxx @@ -95,7 +95,7 @@ public: /** Create SfxMedium for stream read with SfxFilter and filter options set at the medium's SfxItemSet. */ - static SfxMedium* CreateMedium( const OUString& rFileName, std::shared_ptr<const SfxFilter> pFilter, const OUString& rOptions ); + static SfxMedium* CreateMedium( const OUString& rFileName, std::shared_ptr<const SfxFilter> const & pFilter, const OUString& rOptions ); static OUString GetOptions( SfxMedium& rMedium ); |