summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-12-31 04:27:44 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-12-31 04:38:01 +0100
commitd6fd3ccb105e164fdc826f1cafff2f5323194794 (patch)
tree40f218f11738eb5ca58d9723b476ee83a81ed806
parentfaa7667d4a249d1a497610a10c64ac54799c08f4 (diff)
handle strings correctly in ScCondFormatEntry::GetExpression, fdo#58781
Change-Id: I418837d4363c14779a4b2a7ce78c8b9e8df7f0d1
-rw-r--r--sc/source/core/data/conditio.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/conditio.cxx b/sc/source/core/data/conditio.cxx
index d2206ba26d37..9bb6977b6b7e 100644
--- a/sc/source/core/data/conditio.cxx
+++ b/sc/source/core/data/conditio.cxx
@@ -1288,9 +1288,9 @@ rtl::OUString ScConditionEntry::GetExpression( const ScAddress& rCursor, sal_uIn
}
else if (bIsStr1)
{
- aRet = """";
+ aRet = "\"";
aRet += aStrVal1;
- aRet += """";
+ aRet += "\"";
}
else
mpDoc->GetFormatTable()->GetInputLineString(nVal1, nNumFmt, aRet);