diff options
Diffstat (limited to 'sc/source/core/data/conditio.cxx')
-rw-r--r-- | sc/source/core/data/conditio.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sc/source/core/data/conditio.cxx b/sc/source/core/data/conditio.cxx index 9a7be21f3a7c..97626a397e87 100644 --- a/sc/source/core/data/conditio.cxx +++ b/sc/source/core/data/conditio.cxx @@ -1253,9 +1253,7 @@ OUString ScConditionEntry::GetExpression( const ScAddress& rCursor, sal_uInt16 n } else if (bIsStr1) { - aRet = "\""; - aRet += aStrVal1; - aRet += "\""; + aRet = "\"" + aStrVal1 + "\""; } else mpDoc->GetFormatTable()->GetInputLineString(nVal1, nNumFmt, aRet); @@ -1271,9 +1269,7 @@ OUString ScConditionEntry::GetExpression( const ScAddress& rCursor, sal_uInt16 n } else if (bIsStr2) { - aRet = "\""; - aRet += aStrVal2; - aRet += "\""; + aRet = "\"" + aStrVal2 + "\""; } else mpDoc->GetFormatTable()->GetInputLineString(nVal2, nNumFmt, aRet); |