Kaydet (Commit) 0cf0382d authored tarafından Takeshi Abe's avatar Takeshi Abe

replaced UniString by rtl::OUString

See also d2991722
üst a06e1a6b
...@@ -391,8 +391,8 @@ OUString ShutdownIcon::GetResString( int id ) ...@@ -391,8 +391,8 @@ OUString ShutdownIcon::GetResString( int id )
if( !m_pResMgr || !m_pResMgr->IsAvailable( aResId ) ) if( !m_pResMgr || !m_pResMgr->IsAvailable( aResId ) )
return OUString(); return OUString();
UniString aRes( ResId(id, *m_pResMgr) ); ResId aRes( id, *m_pResMgr );
return OUString( aRes ); return ResId::toString( aRes );
} }
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
...@@ -831,8 +831,8 @@ rtl::OUString ShutdownIcon::getShortcutName() ...@@ -831,8 +831,8 @@ rtl::OUString ShutdownIcon::getShortcutName()
if( pMgr ) if( pMgr )
{ {
::SolarMutexGuard aGuard; ::SolarMutexGuard aGuard;
UniString aRes( SfxResId( STR_QUICKSTART_LNKNAME ) ); SfxResId aRes( STR_QUICKSTART_LNKNAME );
aShortcutName = OUString( aRes ); aShortcutName = ResId::toString( aRes );
} }
#ifdef WNT #ifdef WNT
aShortcutName += OUString( RTL_CONSTASCII_USTRINGPARAM( ".lnk" ) ); aShortcutName += OUString( RTL_CONSTASCII_USTRINGPARAM( ".lnk" ) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment