diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-06-03 23:29:51 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-06-03 23:41:03 +0200 |
commit | dfcad766ad3937c5dc435fc10b1387b2c941790e (patch) | |
tree | 075671b3e959492fa6412d7f8de595a6a5fcef78 /sc/source/filter/xml/xmlrowi.cxx | |
parent | 5597fb6e6a8abc57378275c04de5bda29c5b0201 (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/source/filter/xml/xmlrowi.cxx')
-rw-r--r-- | sc/source/filter/xml/xmlrowi.cxx | 4 |
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 ) { |