summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-06-03 23:29:51 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-06-03 23:39:59 +0200
commitd91b12383ecdceb4c2be7a5da11d84ac2146fddb (patch)
tree8c19bc995f65826a0f05e3d224b42f01c1aace6c /sc
parentb532752e7b9407d4d3204d49b601a4725e2e1113 (diff)
restore old code
There is some strange handling for row 0 in the calc core code. Without a very deep inspection I can't decide whether the test or my change is the problem but for now we can live with the old behavior. Change-Id: I69615349f5b46856aba36dada235a49c84eb03af
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/xml/xmlrowi.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/xml/xmlrowi.cxx b/sc/source/filter/xml/xmlrowi.cxx
index efcc0e49bf66..f6b1ae057247 100644
--- a/sc/source/filter/xml/xmlrowi.cxx
+++ b/sc/source/filter/xml/xmlrowi.cxx
@@ -237,8 +237,8 @@ ScXMLTableRowsContext::ScXMLTableRowsContext( ScXMLImport& rImport,
}
else if (bGroup)
{
- ScAddress aAddr = rImport.GetTables().GetCurrentCellPos();
- nHeaderStartRow = aAddr.Row();
+ nGroupStartRow = rImport.GetTables().GetCurrentRow();
+ ++nGroupStartRow;
sal_Int16 nAttrCount = xAttrList.is() ? xAttrList->getLength() : 0;
for( sal_Int16 i=0; i < nAttrCount; ++i )
{