diff options
author | Eike Rathke <erack@redhat.com> | 2015-11-12 23:09:27 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-11-12 23:33:26 +0100 |
commit | dec711e655bb07d2fc217a2fe038f7a8f0fa6be3 (patch) | |
tree | 60e1baaa54efd6d6231d2fef59054836cb530ad0 /sc/source/filter | |
parent | ce87e82dc5c78a5a3cc174a94c11825eb674d638 (diff) |
in a cellRangeAddress single quotes are escaped by doubling them
... and not by prefixing them with a backslash, geez..
Change-Id: Ic088967fc2d9004ab5cc8d917253cc262edba7c9
Diffstat (limited to 'sc/source/filter')
-rw-r--r-- | sc/source/filter/xml/XMLConverter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/XMLConverter.cxx b/sc/source/filter/xml/XMLConverter.cxx index ad4b8f107888..46d4f0e21edc 100644 --- a/sc/source/filter/xml/XMLConverter.cxx +++ b/sc/source/filter/xml/XMLConverter.cxx @@ -286,7 +286,7 @@ void ScXMLConverter::ConvertCellRangeAddress(OUString& sFormula) sal_Unicode chPrevious('='); for (sal_Int32 i = 0; i < sFormula.getLength(); ++i) { - if (sFormula[i] == '\'' && chPrevious != '\\') + if (sFormula[i] == '\'') bInQuotationMarks = !bInQuotationMarks; if (bInQuotationMarks) sBuffer.append(sFormula[i]); |