summaryrefslogtreecommitdiff
path: root/desktop/source/app/appinit.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-16 08:33:10 +0200
committerNoel Grandin <noel@peralex.com>2013-09-17 09:05:21 +0200
commit7865b9762da6d8b3c45cc08df1f3da3f3179b29f (patch)
tree18253ecd3f2211b87a184d95f354a5262719a783 /desktop/source/app/appinit.cxx
parent73c560a63e66a24233e635d60b7a97356eebc1e4 (diff)
convert DESKTOP module from String to OUString
Change-Id: I5dc43849ace8edbab9e6308db80a70797f090c69
Diffstat (limited to 'desktop/source/app/appinit.cxx')
-rw-r--r--desktop/source/app/appinit.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/source/app/appinit.cxx b/desktop/source/app/appinit.cxx
index 9c818d8e3093..8c1086531320 100644
--- a/desktop/source/app/appinit.cxx
+++ b/desktop/source/app/appinit.cxx
@@ -157,7 +157,7 @@ void Desktop::RegisterServices(Reference< XComponentContext > const & context)
namespace
{
struct acceptorMap : public rtl::Static< AcceptorMap, acceptorMap > {};
- struct CurrentTempURL : public rtl::Static< String, CurrentTempURL > {};
+ struct CurrentTempURL : public rtl::Static< OUString, CurrentTempURL > {};
}
static sal_Bool bAccept = sal_False;
@@ -272,7 +272,7 @@ void Desktop::CreateTemporaryDirectory()
DesktopResId aResId( STR_BOOTSTRAP_ERR_NO_PATHSET_SERVICE );
aResId.SetRT( RSC_STRING );
if ( aResId.GetResMgr()->IsAvailable( aResId ))
- aMsg = String( aResId );
+ aMsg = OUString( aResId );
else
aMsg = OUString( "The path manager is not available.\n" );
e.Message = aMsg + e.Message;
@@ -314,8 +314,8 @@ void Desktop::RemoveTemporaryDirectory()
SAL_INFO( "desktop.app", "desktop (cd100003) ::removeTemporaryDirectory" );
// remove current temporary directory
- String &rCurrentTempURL = CurrentTempURL::get();
- if ( rCurrentTempURL.Len() > 0 )
+ OUString &rCurrentTempURL = CurrentTempURL::get();
+ if ( !rCurrentTempURL.isEmpty() )
{
::utl::UCBContentHelper::Kill( rCurrentTempURL );
}