summaryrefslogtreecommitdiff
path: root/svx/source
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
parenta628d232c668ed4a58df8e20f4a363465bc0ff28 (diff)
convert svx/source/accessibility/*.cxx from String to OUString
Change-Id: I98ddae6dafea9c52e4b96274c5f2881d929cf096
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/accessibility/charmapacc.cxx4
-rw-r--r--svx/source/core/graphichelper.cxx4
2 files changed, 4 insertions, 4 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;
}
diff --git a/svx/source/core/graphichelper.cxx b/svx/source/core/graphichelper.cxx
index 7c571e4fdbfa..42dc8cf5f49c 100644
--- a/svx/source/core/graphichelper.cxx
+++ b/svx/source/core/graphichelper.cxx
@@ -207,12 +207,12 @@ void GraphicHelper::SaveShapeAsGraphic( const Reference< drawing::XShape >& xSha
OUString aMimeType;
SvtPathOptions aPathOpt;
- String sGraphicPath( aPathOpt.GetGraphicPath() );
+ OUString sGraphicPath( aPathOpt.GetGraphicPath() );
FileDialogHelper aDialogHelper( TemplateDescription::FILESAVE_AUTOEXTENSION, 0 );
Reference < XFilePicker > xFilePicker = aDialogHelper.GetFilePicker();
- aDialogHelper.SetTitle( OUString( "Save as Picture" ) );
+ aDialogHelper.SetTitle( "Save as Picture" );
INetURLObject aPath;
aPath.SetSmartURL( sGraphicPath );