diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-07-18 12:18:44 -0400 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-07-19 07:23:30 +0200 |
commit | 966c5a3169e498c24488e505c0ff247bc0a6593a (patch) | |
tree | b5319ee6519b19eab1f694cbddc94c5643ffd1d8 | |
parent | 09de7aee1763246642c9e0991180793fda31adc2 (diff) |
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.
Signed-off-by: David Tardon <dtardon@redhat.com>
-rw-r--r-- | sc/source/filter/xml/xmlimprt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmlimprt.cxx b/sc/source/filter/xml/xmlimprt.cxx index 83f599f95..7210e13e2 100644 --- a/sc/source/filter/xml/xmlimprt.cxx +++ b/sc/source/filter/xml/xmlimprt.cxx @@ -2904,7 +2904,7 @@ public: ScXMLConverter::ParseFormula(aContent, false); ScRangeData* pData = new ScRangeData( - mpDoc, r.sName, r.sContent, aPos, RT_NAME, r.eGrammar); + mpDoc, r.sName, aContent, aPos, RT_NAME, r.eGrammar); mrRangeName.insert(pData); } } |