summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-04-10 14:46:02 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-04-10 15:09:57 -0400
commitff0314bf92cd300ddedad566ab0303ddf5e95c17 (patch)
treeed8d74566bd5d104ef5ea588a7ea76de4b8a0972 /sc/source
parent8bc22acaa0825c734e4f2dda177ad93b61b488a2 (diff)
Method signature cleanup.
Taking a reference to double makes no sense here. Plus the bool.
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/filter/excel/excform.cxx6
-rw-r--r--sc/source/filter/inc/imp_op.hxx4
2 files changed, 5 insertions, 5 deletions
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 );