diff options
author | Noel Power <noel.power@novell.com> | 2012-06-22 11:17:18 +0100 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2012-06-22 11:18:10 +0100 |
commit | 6097bd4c14bf58c4c15ee05280eff2151ed98416 (patch) | |
tree | 2420305779767284be93444615f1cf4da2f90a51 | |
parent | 8c2843d807c15452a5b03ec8287d4f1c1ed35b01 (diff) |
more new formulabuffer const cleanup
Change-Id: I6a2363a2c4370cdb5050b404f23e9cbcce684dc5
-rw-r--r-- | sc/source/filter/inc/worksheethelper.hxx | 10 | ||||
-rw-r--r-- | sc/source/filter/oox/worksheethelper.cxx | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/sc/source/filter/inc/worksheethelper.hxx b/sc/source/filter/inc/worksheethelper.hxx index b726230cee5e..a6be51f5937e 100644 --- a/sc/source/filter/inc/worksheethelper.hxx +++ b/sc/source/filter/inc/worksheethelper.hxx @@ -318,11 +318,11 @@ public: /** Final conversion after importing the worksheet. */ void finalizeWorksheetImport(); - void setCellFormula( ::com::sun::star::table::CellAddress& rTokenAddress, rtl::OUString& ); - void setCellFormula( ::com::sun::star::table::CellAddress& rTokenAddress, sal_Int32 ); - void setCellArrayFormula( ::com::sun::star::table::CellRangeAddress& rRangeAddress, ::com::sun::star::table::CellAddress& rTokenAddress, rtl::OUString& ); - void createSharedFormulaMapEntry( ::com::sun::star::table::CellAddress& rAddress, sal_Int32 nSharedId, const rtl::OUString& rTokens ); - void setCellFormulaValue( ::com::sun::star::table::CellAddress& rAddress, + void setCellFormula( const ::com::sun::star::table::CellAddress& rTokenAddress, const rtl::OUString& ); + void setCellFormula( const ::com::sun::star::table::CellAddress& rTokenAddress, sal_Int32 ); + void setCellArrayFormula( const ::com::sun::star::table::CellRangeAddress& rRangeAddress, const ::com::sun::star::table::CellAddress& rTokenAddress, const rtl::OUString& ); + void createSharedFormulaMapEntry( const ::com::sun::star::table::CellAddress& rAddress, sal_Int32 nSharedId, const rtl::OUString& rTokens ); + void setCellFormulaValue( const ::com::sun::star::table::CellAddress& rAddress, double fValue ); private: WorksheetGlobals& mrSheetGlob; diff --git a/sc/source/filter/oox/worksheethelper.cxx b/sc/source/filter/oox/worksheethelper.cxx index e20efb44d5b7..0bb8ba2887e1 100644 --- a/sc/source/filter/oox/worksheethelper.cxx +++ b/sc/source/filter/oox/worksheethelper.cxx @@ -1549,7 +1549,7 @@ void WorksheetHelper::putFormulaResult( const CellAddress& rAddress, double fVal } } -void WorksheetHelper::setCellFormulaValue( ::com::sun::star::table::CellAddress& rAddress, +void WorksheetHelper::setCellFormulaValue( const ::com::sun::star::table::CellAddress& rAddress, double fValue ) { getFormulaBuffer().setCellFormulaValue( rAddress, fValue ); @@ -1593,22 +1593,22 @@ void WorksheetHelper::finalizeWorksheetImport() mrSheetGlob.finalizeWorksheetImport(); } -void WorksheetHelper::setCellFormula( ::com::sun::star::table::CellAddress& rTokenAddress, rtl::OUString& rTokenStr ) +void WorksheetHelper::setCellFormula( const ::com::sun::star::table::CellAddress& rTokenAddress, const rtl::OUString& rTokenStr ) { getFormulaBuffer().setCellFormula( rTokenAddress, rTokenStr ); } -void WorksheetHelper::setCellFormula( ::com::sun::star::table::CellAddress& rTokenAddress, sal_Int32 nSharedId ) +void WorksheetHelper::setCellFormula( const ::com::sun::star::table::CellAddress& rTokenAddress, sal_Int32 nSharedId ) { getFormulaBuffer().setCellFormula( rTokenAddress, nSharedId ); } -void WorksheetHelper::setCellArrayFormula( ::com::sun::star::table::CellRangeAddress& rRangeAddress, ::com::sun::star::table::CellAddress& rTokenAddress, rtl::OUString& rTokenStr ) +void WorksheetHelper::setCellArrayFormula( const ::com::sun::star::table::CellRangeAddress& rRangeAddress, const ::com::sun::star::table::CellAddress& rTokenAddress, const rtl::OUString& rTokenStr ) { getFormulaBuffer().setCellArrayFormula( rRangeAddress, rTokenAddress, rTokenStr ); } -void WorksheetHelper::createSharedFormulaMapEntry( ::com::sun::star::table::CellAddress& rAddress, sal_Int32 nSharedId, const rtl::OUString& rTokens ) +void WorksheetHelper::createSharedFormulaMapEntry( const ::com::sun::star::table::CellAddress& rAddress, sal_Int32 nSharedId, const rtl::OUString& rTokens ) { getFormulaBuffer().createSharedFormulaMapEntry( rAddress, nSharedId, rTokens ); } |