summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/xmlrowi.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-05 00:14:47 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-05 00:19:07 +0100
commit9ddd869873603f929d7c342d62a8d52d19de83ec (patch)
tree463d69a8102db4839cc65fc4cd41e4c5999fb52d /sc/source/filter/xml/xmlrowi.cxx
parent374f7465729c98f2cc8af72f876a8eab01d192a6 (diff)
Revert "workaround problems with row import, fdo#58539"
This reverts commit 119483d9b0af6b4830733161fcf56cea10ed01d7.
Diffstat (limited to 'sc/source/filter/xml/xmlrowi.cxx')
-rw-r--r--sc/source/filter/xml/xmlrowi.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/sc/source/filter/xml/xmlrowi.cxx b/sc/source/filter/xml/xmlrowi.cxx
index a4434e1b2a37..ec4c5a5e10a1 100644
--- a/sc/source/filter/xml/xmlrowi.cxx
+++ b/sc/source/filter/xml/xmlrowi.cxx
@@ -98,7 +98,6 @@ ScXMLTableRowContext::ScXMLTableRowContext( ScXMLImport& rImport,
break;*/
}
}
- mnLastRow = GetScImport().GetTables().GetCurrentRow() + nRepeatedRows;
GetScImport().GetTables().AddRow();
GetScImport().GetTables().SetRowStyle(sCellStyleName);
}
@@ -156,12 +155,6 @@ void ScXMLTableRowContext::EndElement()
}
SCTAB nSheet = rXMLImport.GetTables().GetCurrentSheet();
sal_Int32 nCurrentRow(rXMLImport.GetTables().GetCurrentRow());
- if(nCurrentRow != mnLastRow)
- {
- // this document is most likely invalid in some way
- SAL_WARN("sc", "we did not generate enough rows in the cell import!!");
- nCurrentRow = mnLastRow;
- }
uno::Reference<sheet::XSpreadsheet> xSheet(rXMLImport.GetTables().GetCurrentXSheet());
if(xSheet.is())
{