Kaydet (Commit) a7e69f7c authored tarafından Noel Grandin's avatar Noel Grandin

remove unused code ScMyNotEmptyCellsIterator::GetCell() const

and the consequently unnecessary mpCell field

Change-Id: I95061a904bd88daea8c64c9dcfdb2e91f3f3ac3b
üst 99e5749e
......@@ -625,7 +625,6 @@ ScMyNotEmptyCellsIterator::ScMyNotEmptyCellsIterator(ScXMLExport& rTempXMLExport
pDetectiveObj(NULL),
pDetectiveOp(NULL),
rExport(rTempXMLExport),
mpCell(NULL),
nCurrentTable(SCTAB_MAX)
{
}
......@@ -664,9 +663,9 @@ void ScMyNotEmptyCellsIterator::SetCellData( ScMyCell& rMyCell, table::CellAddre
if( (nCellCol == rAddress.Column) && (nCellRow == rAddress.Row) )
{
mpCell = mpCellItr->GetNext(nCellCol, nCellRow);
if (mpCell)
rMyCell.maBaseCell = *mpCell;
const ScRefCellValue* pCell = mpCellItr->GetNext(nCellCol, nCellRow);
if (pCell)
rMyCell.maBaseCell = *pCell;
}
rMyCell.bIsMatrixCovered = false;
......@@ -815,9 +814,4 @@ bool ScMyNotEmptyCellsIterator::GetNext(ScMyCell& aCell, ScFormatRangeStyles* pC
return bFoundCell;
}
const ScRefCellValue* ScMyNotEmptyCellsIterator::GetCell() const
{
return mpCell;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -348,7 +348,6 @@ class ScMyNotEmptyCellsIterator : boost::noncopyable
ScXMLExport& rExport;
boost::scoped_ptr<ScHorizontalCellIterator> mpCellItr;
const ScRefCellValue* mpCell;
SCCOL nCellCol;
SCROW nCellRow;
......@@ -384,8 +383,6 @@ public:
void SkipTable(SCTAB nSkip);
bool GetNext(ScMyCell& aCell, ScFormatRangeStyles* pCellStyles);
const ScRefCellValue* GetCell() const;
};
#endif
......
......@@ -80,7 +80,6 @@ ScExtIButton::GetSelected() const
ScFlatBoolRowSegments::getValue(int)
ScGlobal::GetStandardFormat(double, SvNumberFormatter&, unsigned long, short)
ScGridWindow::HasScenarioRange(unsigned short, int, ScRange&)
ScMyNotEmptyCellsIterator::GetCell() const
ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
SdrItemBrowser::ForceParent()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment