[Libreoffice-commits] .: sc/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Mon Jul 18 09:21:23 PDT 2011
sc/source/filter/xml/xmlimprt.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ce470bf9f95ae53c29356976b2c5e44cd6c73fed
Author: Kohei Yoshida <kyoshida at novell.com>
Date: Mon Jul 18 12:18:44 2011 -0400
Correctly use adjusted range strings for range name import.
ScXMLConverter::ParseFormula() was called on the range name string
to correctly fix range string such as '$Sheet1.$A$1:.$A$3' to
'$Sheet1.$A$1:$A$3' (remove the dot from the end cell address). But
we weren't using the corrected string when creating a new range name
instance during the ODS import. This commit fixes it.
diff --git a/sc/source/filter/xml/xmlimprt.cxx b/sc/source/filter/xml/xmlimprt.cxx
index 79f2ef9..3eecb32 100644
--- a/sc/source/filter/xml/xmlimprt.cxx
+++ b/sc/source/filter/xml/xmlimprt.cxx
@@ -2811,7 +2811,7 @@ public:
ScXMLConverter::ParseFormula(aContent, false);
ScRangeData* pData = new ScRangeData(
- mpDoc, r.sName, r.sContent, aPos, nNewType, r.eGrammar);
+ mpDoc, r.sName, aContent, aPos, nNewType, r.eGrammar);
mrRangeName.insert(pData);
}
}
More information about the Libreoffice-commits
mailing list