[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - sc/source
Markus Mohrhard
markus.mohrhard at googlemail.com
Mon Jun 3 14:45:03 PDT 2013
sc/source/filter/xml/xmlrowi.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit dfcad766ad3937c5dc435fc10b1387b2c941790e
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Mon Jun 3 23:29:51 2013 +0200
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
diff --git a/sc/source/filter/xml/xmlrowi.cxx b/sc/source/filter/xml/xmlrowi.cxx
index efcc0e4..f6b1ae05 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 )
{
More information about the Libreoffice-commits
mailing list