diff options
Diffstat (limited to 'desktop/source/app/lockfile2.cxx')
-rw-r--r-- | desktop/source/app/lockfile2.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/desktop/source/app/lockfile2.cxx b/desktop/source/app/lockfile2.cxx index f56bda17988b..d338281d9d13 100644 --- a/desktop/source/app/lockfile2.cxx +++ b/desktop/source/app/lockfile2.cxx @@ -33,9 +33,9 @@ bool Lockfile_execWarning( Lockfile * that ) String aLockname = that->m_aLockname; Config aConfig(aLockname); aConfig.SetGroup( LOCKFILE_GROUP ); - rtl::OString aHost = aConfig.ReadKey( LOCKFILE_HOSTKEY ); - rtl::OString aUser = aConfig.ReadKey( LOCKFILE_USERKEY ); - rtl::OString aTime = aConfig.ReadKey( LOCKFILE_TIMEKEY ); + OString aHost = aConfig.ReadKey( LOCKFILE_HOSTKEY ); + OString aUser = aConfig.ReadKey( LOCKFILE_USERKEY ); + OString aTime = aConfig.ReadKey( LOCKFILE_TIMEKEY ); // display warning and return response QueryBox aBox( NULL, DesktopResId( QBX_USERDATALOCKED ) ); @@ -45,11 +45,11 @@ bool Lockfile_execWarning( Lockfile * that ) // insert values... String aMsgText = aBox.GetMessText( ); aMsgText.SearchAndReplaceAscii( - "$u", rtl::OStringToOUString( aUser, RTL_TEXTENCODING_ASCII_US) ); + "$u", OStringToOUString( aUser, RTL_TEXTENCODING_ASCII_US) ); aMsgText.SearchAndReplaceAscii( - "$h", rtl::OStringToOUString( aHost, RTL_TEXTENCODING_ASCII_US) ); + "$h", OStringToOUString( aHost, RTL_TEXTENCODING_ASCII_US) ); aMsgText.SearchAndReplaceAscii( - "$t", rtl::OStringToOUString( aTime, RTL_TEXTENCODING_ASCII_US) ); + "$t", OStringToOUString( aTime, RTL_TEXTENCODING_ASCII_US) ); aBox.SetMessText(aMsgText); // do it return aBox.Execute( ) == RET_YES; |