diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-07-02 16:02:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-07-03 21:24:35 +0100 |
commit | bccf34c19ae022b67565e212fa4ec0d5213947de (patch) | |
tree | 73c2d2e29ad8d15999cbfb2ff554efa1e502a35e /editeng | |
parent | useless aMgrName string (diff) | |
download | core-bccf34c19ae022b67565e212fa4ec0d5213947de.tar.gz core-bccf34c19ae022b67565e212fa4ec0d5213947de.zip |
ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/items/paraitem.cxx | 4 | ||||
-rw-r--r-- | editeng/source/misc/acorrcfg.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/items/paraitem.cxx b/editeng/source/items/paraitem.cxx index e306b893aac3..4549274fe90c 100644 --- a/editeng/source/items/paraitem.cxx +++ b/editeng/source/items/paraitem.cxx @@ -607,7 +607,7 @@ SfxItemPresentation SvxWidowsItem::GetPresentation } } - rText.SearchAndReplace( String::CreateFromAscii( "%1" ), String::CreateFromInt32( GetValue() ) ); + rText.SearchAndReplace( rtl::OUString("%1"), String::CreateFromInt32( GetValue() ) ); return ePres; } @@ -679,7 +679,7 @@ SfxItemPresentation SvxOrphansItem::GetPresentation } } - rText.SearchAndReplace( String::CreateFromAscii( "%1" ), String::CreateFromInt32( GetValue() ) ); + rText.SearchAndReplace( rtl::OUString("%1"), String::CreateFromInt32( GetValue() ) ); return ePres; } diff --git a/editeng/source/misc/acorrcfg.cxx b/editeng/source/misc/acorrcfg.cxx index bdfcf4c8f98f..3c170479c64d 100644 --- a/editeng/source/misc/acorrcfg.cxx +++ b/editeng/source/misc/acorrcfg.cxx @@ -62,7 +62,7 @@ SvxAutoCorrCfg::SvxAutoCorrCfg() : { *pS = sAutoPath.GetToken( n, ';' ); INetURLObject aPath( *pS ); - aPath.insertName( String::CreateFromAscii("acor") ); + aPath.insertName(rtl::OUString("acor")); *pS = aPath.GetMainURL(INetURLObject::DECODE_TO_IURI); } pAutoCorrect = new SvxAutoCorrect( sSharePath, sUserPath ); |