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/source/filter/excel/xechart.cxx | |
parent | a293ff34143f90c6836591fc1f4aa419342c5e1b (diff) |
clang-tidy performance-unnecessary-value-param in sc
Change-Id: I1941c050a385e3a1020c5d2495471f5805c4c180
Diffstat (limited to 'sc/source/filter/excel/xechart.cxx')
-rw-r--r-- | sc/source/filter/excel/xechart.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/excel/xechart.cxx b/sc/source/filter/excel/xechart.cxx index d6eee66871c6..c2860104703b 100644 --- a/sc/source/filter/excel/xechart.cxx +++ b/sc/source/filter/excel/xechart.cxx @@ -126,7 +126,7 @@ XclExpStream& operator<<( XclExpStream& rStrm, const XclChRectangle& rRect ) return rStrm << rRect.mnX << rRect.mnY << rRect.mnWidth << rRect.mnHeight; } -inline void lclSaveRecord( XclExpStream& rStrm, XclExpRecordRef xRec ) +inline void lclSaveRecord( XclExpStream& rStrm, XclExpRecordRef const & xRec ) { if( xRec ) xRec->Save( rStrm ); @@ -134,7 +134,7 @@ inline void lclSaveRecord( XclExpStream& rStrm, XclExpRecordRef xRec ) /** Saves the passed record (group) together with a leading value record. */ template< typename Type > -void lclSaveRecord( XclExpStream& rStrm, XclExpRecordRef xRec, sal_uInt16 nRecId, Type nValue ) +void lclSaveRecord( XclExpStream& rStrm, XclExpRecordRef const & xRec, sal_uInt16 nRecId, Type nValue ) { if( xRec ) { @@ -3391,7 +3391,7 @@ void XclExpChChart::RemoveLastSeries() maSeries.RemoveRecord( maSeries.GetSize() - 1 ); } -void XclExpChChart::SetDataLabel( XclExpChTextRef xText ) +void XclExpChChart::SetDataLabel( XclExpChTextRef const & xText ) { if( xText ) maLabels.AppendRecord( xText ); |