From 66018b9685dd7337daae9bb62ffeb43cd4161caf Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Sat, 30 Jun 2012 03:01:22 +0200 Subject: the end of the formula is the closing bracket, fdo#51507 Change-Id: I2cc6505571ff62d44443c161317b61033be0d7ec --- sc/source/filter/xml/xmlcondformat.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc/source/filter/xml/xmlcondformat.cxx b/sc/source/filter/xml/xmlcondformat.cxx index a8fc8bb95159..ed9bc497c48a 100644 --- a/sc/source/filter/xml/xmlcondformat.cxx +++ b/sc/source/filter/xml/xmlcondformat.cxx @@ -363,7 +363,7 @@ void GetConditionData(const rtl::OUString& rValue, ScConditionMode& eMode, rtl:: const sal_Unicode* pStr = rValue.getStr(); const sal_Unicode* pStart = pStr + 11; const sal_Unicode* pEnd = pStr + rValue.getLength(); - rExpr1 = ScXMLConditionHelper::getExpression( pStart, pEnd, ','); + rExpr1 = ScXMLConditionHelper::getExpression( pStart, pEnd, ')'); eMode = SC_COND_DIRECT; } else -- cgit v1.2.3