[Libreoffice-commits] core.git: sw/source
Caolán McNamara
caolanm at redhat.com
Thu Feb 6 12:39:55 PST 2014
sw/source/core/bastyp/calc.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit d3732e46a0b5428c6524bd4ebc7b20c75bbfc1d9
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Feb 6 20:38:34 2014 +0000
fix debug=2
Change-Id: I6e334b200c801c7c2e5d5970302e3a1a7c2894a3
diff --git a/sw/source/core/bastyp/calc.cxx b/sw/source/core/bastyp/calc.cxx
index 0385301..9843a27 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;
More information about the Libreoffice-commits
mailing list