summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/filter/xml/XMLExportIterator.cxx6
-rw-r--r--sc/source/filter/xml/XMLExportIterator.hxx1
2 files changed, 1 insertions, 6 deletions
diff --git a/sc/source/filter/xml/XMLExportIterator.cxx b/sc/source/filter/xml/XMLExportIterator.cxx
index 2cf43250d084..1a14dafeaa50 100644
--- a/sc/source/filter/xml/XMLExportIterator.cxx
+++ b/sc/source/filter/xml/XMLExportIterator.cxx
@@ -693,14 +693,11 @@ void ScMyNotEmptyCellsIterator::SetCellData( ScMyCell& rMyCell, table::CellAddre
if (mpCell)
rMyCell.maBaseCell = *mpCell;
}
-}
-void ScMyNotEmptyCellsIterator::SetMatrixCellData( ScMyCell& rMyCell )
-{
rMyCell.bIsMatrixCovered = false;
rMyCell.bIsMatrixBase = false;
- bool bIsMatrixBase(false);
+ bool bIsMatrixBase = false;
ScAddress aScAddress;
ScUnoConversion::FillScAddress( aScAddress, rMyCell.aCellAddress );
@@ -879,7 +876,6 @@ bool ScMyNotEmptyCellsIterator::GetNext(ScMyCell& aCell, ScFormatRangeStyles* pC
pDetectiveOp->SetCellData( aCell );
HasAnnotation( aCell );
- SetMatrixCellData( aCell );
bool bIsAutoStyle;
// Ranges before the previous cell are not needed by ExportFormatRanges anymore and can be removed
sal_Int32 nRemoveBeforeRow = aLastAddress.Row;
diff --git a/sc/source/filter/xml/XMLExportIterator.hxx b/sc/source/filter/xml/XMLExportIterator.hxx
index 98eedf414ad3..6433510d5c0f 100644
--- a/sc/source/filter/xml/XMLExportIterator.hxx
+++ b/sc/source/filter/xml/XMLExportIterator.hxx
@@ -401,7 +401,6 @@ class ScMyNotEmptyCellsIterator : boost::noncopyable
void UpdateAddress( ::com::sun::star::table::CellAddress& rAddress );
void SetCellData( ScMyCell& rMyCell, ::com::sun::star::table::CellAddress& rAddress );
- void SetMatrixCellData( ScMyCell& rMyCell );
void HasAnnotation( ScMyCell& aCell );
public:
ScMyNotEmptyCellsIterator(ScXMLExport& rExport);