diff options
-rw-r--r-- | basic/source/sbx/sbxexec.cxx | 2 | ||||
-rw-r--r-- | basic/source/sbx/sbxvar.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/sbx/sbxexec.cxx b/basic/source/sbx/sbxexec.cxx index 2cd35bea412e..9507f47f84e3 100644 --- a/basic/source/sbx/sbxexec.cxx +++ b/basic/source/sbx/sbxexec.cxx @@ -156,7 +156,7 @@ static SbxVariableRef Operand break; } } - aString += OUString(*p++); + aString += OUStringLiteral1(*p++); } refVar->PutString( aString ); } diff --git a/basic/source/sbx/sbxvar.cxx b/basic/source/sbx/sbxvar.cxx index 386de3606854..784e9d11aa36 100644 --- a/basic/source/sbx/sbxvar.cxx +++ b/basic/source/sbx/sbxvar.cxx @@ -255,7 +255,7 @@ const OUString& SbxVariable::GetName( SbxNameType t ) const } if( cType != ' ' ) { - aTmp += OUString(sal_Unicode(cType)); + aTmp += OUStringLiteral1(cType); } } aTmp += "("; @@ -288,7 +288,7 @@ const OUString& SbxVariable::GetName( SbxNameType t ) const } if( cType != ' ' ) { - aTmp += OUString((sal_Unicode)cType); + aTmp += OUStringLiteral1(cType); if( i->eType & SbxARRAY ) { aTmp += "()"; |