diff options
Diffstat (limited to 'sfx2/source/doc/objmisc.cxx')
-rw-r--r-- | sfx2/source/doc/objmisc.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx index e7edadcaa681..7190f73591f5 100644 --- a/sfx2/source/doc/objmisc.cxx +++ b/sfx2/source/doc/objmisc.cxx @@ -747,7 +747,7 @@ void SfxObjectShell::SetTitle String X(const String &rRet) { if ( !rRet.Len() ) - return DEFINE_CONST_UNICODE( "-empty-" ); + return String( "-empty-" ); return rRet; } #else @@ -817,7 +817,7 @@ String SfxObjectShell::GetTitle { static sal_Bool bRecur = sal_False; if ( bRecur ) - return DEFINE_CONST_UNICODE( "-not available-" ); + return String( "-not available-" ); bRecur = sal_True; String aTitle; @@ -909,7 +909,7 @@ String SfxObjectShell::GetTitle String aComplete( aURL.GetMainURL( INetURLObject::NO_DECODE ) ); if( aComplete.Len() > nMaxLength ) { - String aRet( DEFINE_CONST_UNICODE( "..." ) ); + String aRet( "..." ); aRet += aComplete.Copy( aComplete.Len() - nMaxLength + 3, nMaxLength - 3 ); return X( aRet ); } |