summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-07-02 16:02:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-07-03 21:24:35 +0100
commitbccf34c19ae022b67565e212fa4ec0d5213947de (patch)
tree73c2d2e29ad8d15999cbfb2ff554efa1e502a35e /editeng
parent285289275d1cf1769080a208b55be984cd269e1e (diff)
ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/paraitem.cxx4
-rw-r--r--editeng/source/misc/acorrcfg.cxx2
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 );