summaryrefslogtreecommitdiff
path: root/svx/source/accessibility
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-04 15:53:52 +0200
committerNoel Grandin <noel@peralex.com>2013-09-05 08:55:13 +0200
commite0848f6dae86e53dac12b18120e4362957d000d2 (patch)
tree173c36ae91b77f379b46fae4c76339a961bf0669 /svx/source/accessibility
parenta628d232c668ed4a58df8e20f4a363465bc0ff28 (diff)
convert svx/source/accessibility/*.cxx from String to OUString
Change-Id: I98ddae6dafea9c52e4b96274c5f2881d929cf096
Diffstat (limited to 'svx/source/accessibility')
-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;
}