Kaydet (Commit) dec711e6 authored tarafından Eike Rathke's avatar Eike Rathke

in a cellRangeAddress single quotes are escaped by doubling them

... and not by prefixing them with a backslash, geez..

Change-Id: Ic088967fc2d9004ab5cc8d917253cc262edba7c9
üst ce87e82d
......@@ -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]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment