summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-06-18 18:40:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-06-19 09:13:23 +0100
commitbd4f553ef03b45b4126314fa8287f933988575ea (patch)
tree976a9895e9f08e0b84baeec5bd993316ae003182 /desktop
parent2e4c6b51699362252d0bbdc27e0311c68e2ab21b (diff)
remove some UniString ctors
Change-Id: Ic2e712f4447b733b79d980e178d9d6d9d8bf0e40
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/lockfile2.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/source/app/lockfile2.cxx b/desktop/source/app/lockfile2.cxx
index 1f00d6563ad0..1eebccac29be 100644
--- a/desktop/source/app/lockfile2.cxx
+++ b/desktop/source/app/lockfile2.cxx
@@ -55,11 +55,11 @@ bool Lockfile_execWarning( Lockfile * that )
// insert values...
String aMsgText = aBox.GetMessText( );
aMsgText.SearchAndReplaceAscii(
- "$u", String( aUser, RTL_TEXTENCODING_ASCII_US) );
+ "$u", rtl::OStringToOUString( aUser, RTL_TEXTENCODING_ASCII_US) );
aMsgText.SearchAndReplaceAscii(
- "$h", String( aHost, RTL_TEXTENCODING_ASCII_US) );
+ "$h", rtl::OStringToOUString( aHost, RTL_TEXTENCODING_ASCII_US) );
aMsgText.SearchAndReplaceAscii(
- "$t", String( aTime, RTL_TEXTENCODING_ASCII_US) );
+ "$t", rtl::OStringToOUString( aTime, RTL_TEXTENCODING_ASCII_US) );
aBox.SetMessText(aMsgText);
// do it
return aBox.Execute( ) == RET_YES;