diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-12-03 23:42:42 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-12-05 01:44:04 +0100 |
commit | 82a548061fcef9eff61c3a23570607db286715b5 (patch) | |
tree | dccfb3cca374b0f117e7d9275d04eefac0cff9d1 /sc/source | |
parent | 71de946a1a2f5479667abd0e8cd0446b1db3ee96 (diff) |
missing check for cell import
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/filter/xml/xmlcelli.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx index 8fd3de4ef5c6..3f837a93b5ea 100644 --- a/sc/source/filter/xml/xmlcelli.cxx +++ b/sc/source/filter/xml/xmlcelli.cxx @@ -1106,7 +1106,7 @@ void ScXMLTableRowCellContext::EndElement() pNewCell = new ScFormulaCell( pDoc, aScAddress, pCode, eGrammar, MM_NONE ); delete pCode; } - else if ( aText[0] == '\'' ) + else if ( aText[0] == '\'' && aText.getLength() > 1 ) { // for bEnglish, "'" at the beginning is always interpreted as text // marker and stripped |