From ff0314bf92cd300ddedad566ab0303ddf5e95c17 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Tue, 10 Apr 2012 14:46:02 -0400 Subject: Method signature cleanup. Taking a reference to double makes no sense here. Plus the bool. --- sc/source/filter/excel/excform.cxx | 6 +++--- sc/source/filter/inc/imp_op.hxx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'sc/source') diff --git a/sc/source/filter/excel/excform.cxx b/sc/source/filter/excel/excform.cxx index 0279b41d235a..02ba65f8f096 100644 --- a/sc/source/filter/excel/excform.cxx +++ b/sc/source/filter/excel/excform.cxx @@ -111,8 +111,8 @@ void ImportExcel::Formula4() } -void ImportExcel::Formula( const XclAddress& rXclPos, - sal_uInt16 nXF, sal_uInt16 nFormLen, double& rCurVal, sal_Bool bShrFmla ) +void ImportExcel::Formula( + const XclAddress& rXclPos, sal_uInt16 nXF, sal_uInt16 nFormLen, double fCurVal, bool bShrFmla) { ConvErr eErr = ConvOK; @@ -158,7 +158,7 @@ void ImportExcel::Formula( const XclAddress& rXclPos, { if( eErr != ConvOK ) ExcelToSc::SetError( *pCell, eErr ); - (void)rCurVal; + (void)fCurVal; } GetXFRangeBuffer().SetXF( aScPos, nXF ); diff --git a/sc/source/filter/inc/imp_op.hxx b/sc/source/filter/inc/imp_op.hxx index 57a3374762a1..fc56de743e7e 100644 --- a/sc/source/filter/inc/imp_op.hxx +++ b/sc/source/filter/inc/imp_op.hxx @@ -184,8 +184,8 @@ protected: void Bof5( void ); // 0x0809 // --------------------------------------------------------------- - void Formula( const XclAddress& rXclPos, - sal_uInt16 nXF, sal_uInt16 nFormLen, double &rCurVal, sal_Bool bShrFmla ); + void Formula( + const XclAddress& rXclPos, sal_uInt16 nXF, sal_uInt16 nFormLen, double fCurVal, bool bShrFmla); // -> excform.cxx virtual void EndSheet( void ); -- cgit