summaryrefslogtreecommitdiff
path: root/svx/source/accessibility/charmapacc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/accessibility/charmapacc.cxx')
-rw-r--r--svx/source/accessibility/charmapacc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/accessibility/charmapacc.cxx b/svx/source/accessibility/charmapacc.cxx
index 772832918726..7b655263063a 100644
--- a/svx/source/accessibility/charmapacc.cxx
+++ b/svx/source/accessibility/charmapacc.cxx
@@ -696,7 +696,7 @@ OUString SAL_CALL SvxShowCharSetItemAcc::getAccessibleDescription()
{
OExternalLockGuard aGuard( this );
ensureAlive();
- String sDescription = SVX_RESSTR( RID_SVXSTR_CHARACTER_CODE );
+ OUString sDescription = SVX_RESSTR( RID_SVXSTR_CHARACTER_CODE );
sal_Unicode c = mpParent->maText[0];
char buf[16] = "0x0000";
@@ -709,7 +709,7 @@ OUString SAL_CALL SvxShowCharSetItemAcc::getAccessibleDescription()
}
if( c < 256 )
snprintf( buf+6, 10, " (%d)", c );
- sDescription.AppendAscii(buf);
+ sDescription += OUString(buf, strlen(buf), RTL_TEXTENCODING_ASCII_US);
return sDescription;
}