summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-01-21 04:42:55 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-01-21 04:53:07 +0900
commit0cf0382d4eb8588c91e850adbd874c3cb5ef6f03 (patch)
tree627ac3ea71ce845b46a171cb23e3f54c3e4bf364 /sfx2
parenta06e1a6b63dfcb84cb1a3a7c5fd30829b9d33c82 (diff)
replaced UniString by rtl::OUString
See also d2991722b34fb597d34a3270cd4a806277c52da5
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/shutdownicon.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/appl/shutdownicon.cxx b/sfx2/source/appl/shutdownicon.cxx
index 141aacdeab27..ffaa63db60c9 100644
--- a/sfx2/source/appl/shutdownicon.cxx
+++ b/sfx2/source/appl/shutdownicon.cxx
@@ -391,8 +391,8 @@ OUString ShutdownIcon::GetResString( int id )
if( !m_pResMgr || !m_pResMgr->IsAvailable( aResId ) )
return OUString();
- UniString aRes( ResId(id, *m_pResMgr) );
- return OUString( aRes );
+ ResId aRes( id, *m_pResMgr );
+ return ResId::toString( aRes );
}
// ---------------------------------------------------------------------------
@@ -831,8 +831,8 @@ rtl::OUString ShutdownIcon::getShortcutName()
if( pMgr )
{
::SolarMutexGuard aGuard;
- UniString aRes( SfxResId( STR_QUICKSTART_LNKNAME ) );
- aShortcutName = OUString( aRes );
+ SfxResId aRes( STR_QUICKSTART_LNKNAME );
+ aShortcutName = ResId::toString( aRes );
}
#ifdef WNT
aShortcutName += OUString( RTL_CONSTASCII_USTRINGPARAM( ".lnk" ) );