diff options
author | Noel Grandin <noel@peralex.com> | 2013-09-25 12:18:11 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-10-01 10:08:40 +0200 |
commit | b879adc316d6628fad7be35e758052860171bcf2 (patch) | |
tree | 1f65afe787b1cc680bcd055a90e878047f395052 /uui/source/nameclashdlg.cxx | |
parent | c82d932510c88a12b260b1684522efbc69f07b26 (diff) |
convert UUI module from String to OUString
Change-Id: I0dfcdb0b95112b5ee18b05d0c496059292be65c4
Diffstat (limited to 'uui/source/nameclashdlg.cxx')
-rw-r--r-- | uui/source/nameclashdlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/uui/source/nameclashdlg.cxx b/uui/source/nameclashdlg.cxx index 20c8bad93c03..2d83a53ba077 100644 --- a/uui/source/nameclashdlg.cxx +++ b/uui/source/nameclashdlg.cxx @@ -71,7 +71,7 @@ NameClashDialog::NameClashDialog( Window* pParent, ResMgr* pResMgr, maBtnRename.SetClickHdl( aLink ); maBtnCancel.SetClickHdl( aLink ); - String aInfo; + OUString aInfo; if ( bAllowOverwrite ) { aInfo = ResId(STR_RENAME_OR_REPLACE, *pResMgr).toString(); @@ -88,8 +88,8 @@ NameClashDialog::NameClashDialog( Window* pParent, ResMgr* pResMgr, maSameName = ResId(STR_SAME_NAME_USED, *pResMgr).toString(); - aInfo.SearchAndReplaceAscii( "%NAME", rClashingName ); - aInfo.SearchAndReplaceAscii( "%FOLDER", aPath ); + aInfo = aInfo.replaceFirst( "%NAME", rClashingName ); + aInfo = aInfo.replaceFirst( "%FOLDER", aPath ); maFTMessage.SetText( aInfo ); if ( !rProposedNewName.isEmpty() ) maEDNewName.SetText( rProposedNewName ); |