From d3732e46a0b5428c6524bd4ebc7b20c75bbfc1d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Thu, 6 Feb 2014 20:38:34 +0000 Subject: [PATCH] fix debug=2 Change-Id: I6e334b200c801c7c2e5d5970302e3a1a7c2894a3 --- sw/source/core/bastyp/calc.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sw/source/core/bastyp/calc.cxx b/sw/source/core/bastyp/calc.cxx index 038530161f4e..9843a2769e39 100644 --- a/sw/source/core/bastyp/calc.cxx +++ b/sw/source/core/bastyp/calc.cxx @@ -980,13 +980,13 @@ SwCalcOper SwCalc::GetToken() bIgnore = true; else if( bIgnore ) bIgnore = false; - aStr += ch; + aStr += OUString(ch); } if( !bIgnore ) break; - aStr.SetChar( aStr.getLength() - 1, ch ); + aStr = aStr.replaceAt(aStr.getLength() - 1, 1, OUString(ch)); } while( ch ); aVarName = aStr;