diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-26 14:15:47 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-30 10:34:38 +0200 |
commit | d2df03574023b379ac09b1f71cae9e3ba3ac53e2 (patch) | |
tree | ca17f45377b7b506375b510f1d1733495ea9b170 /sc/source/filter/oox | |
parent | ffddd4d122433329b454f676f21a2b1ce590a1a7 (diff) |
loplugin:unusedfields
Change-Id: Ife94d488ead512abc6d137a0df74298bac67185d
Diffstat (limited to 'sc/source/filter/oox')
-rw-r--r-- | sc/source/filter/oox/formulabuffer.cxx | 8 | ||||
-rw-r--r-- | sc/source/filter/oox/sheetdatacontext.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/oox/worksheethelper.cxx | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/sc/source/filter/oox/formulabuffer.cxx b/sc/source/filter/oox/formulabuffer.cxx index ef6172f46a9e..4e82ea667769 100644 --- a/sc/source/filter/oox/formulabuffer.cxx +++ b/sc/source/filter/oox/formulabuffer.cxx @@ -340,9 +340,9 @@ protected: } FormulaBuffer::SharedFormulaEntry::SharedFormulaEntry( - const table::CellAddress& rAddr, const table::CellRangeAddress& rRange, + const table::CellAddress& rAddr, const OUString& rTokenStr, sal_Int32 nSharedId ) : - maAddress(rAddr), maRange(rRange), maTokenStr(rTokenStr), mnSharedId(nSharedId) {} + maAddress(rAddr), maTokenStr(rTokenStr), mnSharedId(nSharedId) {} FormulaBuffer::SharedFormulaDesc::SharedFormulaDesc( const css::table::CellAddress& rAddr, sal_Int32 nSharedId, @@ -457,12 +457,12 @@ FormulaBuffer::SheetItem FormulaBuffer::getSheetItem( SCTAB nTab ) } void FormulaBuffer::createSharedFormulaMapEntry( - const table::CellAddress& rAddress, const table::CellRangeAddress& rRange, + const table::CellAddress& rAddress, sal_Int32 nSharedId, const OUString& rTokens ) { assert( rAddress.Sheet >= 0 && (size_t)rAddress.Sheet < maSharedFormulas.size() ); std::vector<SharedFormulaEntry>& rSharedFormulas = maSharedFormulas[ rAddress.Sheet ]; - SharedFormulaEntry aEntry(rAddress, rRange, rTokens, nSharedId); + SharedFormulaEntry aEntry(rAddress, rTokens, nSharedId); rSharedFormulas.push_back( aEntry ); } diff --git a/sc/source/filter/oox/sheetdatacontext.cxx b/sc/source/filter/oox/sheetdatacontext.cxx index 0cf6280ca0d1..3bc5b9800e61 100644 --- a/sc/source/filter/oox/sheetdatacontext.cxx +++ b/sc/source/filter/oox/sheetdatacontext.cxx @@ -161,7 +161,7 @@ void SheetDataContext::onEndElement() if( maFmlaData.mnSharedId >= 0 ) { if( mbValidRange && maFmlaData.isValidSharedRef( maCellData.maCellAddr ) ) - createSharedFormulaMapEntry(maCellData.maCellAddr, maFmlaData.maFormulaRef, maFmlaData.mnSharedId, maFormulaStr); + createSharedFormulaMapEntry(maCellData.maCellAddr, maFmlaData.mnSharedId, maFormulaStr); setCellFormula(maCellData.maCellAddr, maFmlaData.mnSharedId, maCellValue, maCellData.mnCellType); mrSheetData.setCellFormat( maCellData ); diff --git a/sc/source/filter/oox/worksheethelper.cxx b/sc/source/filter/oox/worksheethelper.cxx index 69fdb25a53e3..2c2dba1d0faf 100644 --- a/sc/source/filter/oox/worksheethelper.cxx +++ b/sc/source/filter/oox/worksheethelper.cxx @@ -1643,9 +1643,9 @@ void WorksheetHelper::setCellArrayFormula( const css::table::CellRangeAddress& r } void WorksheetHelper::createSharedFormulaMapEntry( - const table::CellAddress& rAddress, const table::CellRangeAddress& rRange, sal_Int32 nSharedId, const OUString& rTokens ) + const table::CellAddress& rAddress, sal_Int32 nSharedId, const OUString& rTokens ) { - getFormulaBuffer().createSharedFormulaMapEntry(rAddress, rRange, nSharedId, rTokens); + getFormulaBuffer().createSharedFormulaMapEntry(rAddress, nSharedId, rTokens); } } // namespace xls |