diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-06-25 12:39:27 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-06-27 15:47:54 -0400 |
commit | 9e79d6d1120b7d96333016725f1a51def7b8d0e7 (patch) | |
tree | 5f6f3d421c4f7b569baa31cb6b5d342e57f70260 /sc/source/filter/xml/xmlexprt.cxx | |
parent | b17237a7177e39f6611ccfc39e7758dd542f01e0 (diff) |
Remove duplicate code blocks.
Change-Id: Ie014ec8866d9e3055a6e67bd20503fc6fc26f503
Diffstat (limited to 'sc/source/filter/xml/xmlexprt.cxx')
-rw-r--r-- | sc/source/filter/xml/xmlexprt.cxx | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index 2b72e894df0e..ac5d4b33e5c2 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -2052,18 +2052,7 @@ void ScXMLExport::_ExportAutoStyles() SCTAB nTabCount = pDoc->GetTableCount(); for (SCTAB nTab=0; nTab<nTabCount; ++nTab) if (pDoc->IsStreamValid(nTab)) - { - ScCellIterator aIter( pDoc, ScRange(0, 0, nTab, MAXCOL, MAXROW, nTab) ); - for (bool bHas = aIter.first(); bHas; bHas = aIter.next()) - { - if (aIter.getType() != CELLTYPE_FORMULA) - continue; - - ScFormulaCell* pFC = aIter.getFormulaCell(); - if (pFC) - pFC->IsValue(); // interpret if dirty - } - } + pDoc->InterpretDirtyCells(ScRange(0, 0, nTab, MAXCOL, MAXROW, nTab)); // stored cell styles const std::vector<ScCellStyleEntry>& rCellEntries = pSheetData->GetCellStyles(); |