diff options
Diffstat (limited to 'sfx2/source/doc')
-rw-r--r-- | sfx2/source/doc/doctempl.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/doc/docvor.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/objmisc.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx index 37edcd03a2e4..3b48b431b294 100644 --- a/sfx2/source/doc/doctempl.cxx +++ b/sfx2/source/doc/doctempl.cxx @@ -599,8 +599,8 @@ OUString SfxDocumentTemplates::ConvertResourceString ( { for( int i = 0; i < nCount; ++i ) { - if( rString == ResId::toString( SfxResId( nSourceResIds + i) ) ) - return ResId::toString( SfxResId( nDestResIds + i ) ); + if( rString == SFX2_RESSTR(nSourceResIds + i)) + return SFX2_RESSTR(nDestResIds + i); } return rString; } diff --git a/sfx2/source/doc/docvor.cxx b/sfx2/source/doc/docvor.cxx index 6ab4cb41919e..5ed00278bebf 100644 --- a/sfx2/source/doc/docvor.cxx +++ b/sfx2/source/doc/docvor.cxx @@ -1766,7 +1766,7 @@ long SfxOrganizeDlg_Impl::Dispatch_Impl( sal_uInt16 nId, Menu* _pMenu ) { if(0 == pFocusBox->GetModel()->GetDepth(pEntry)) { - const rtl::OUString aNoName(ResId::toString(SfxResId(STR_NONAME))); + const rtl::OUString aNoName(SFX2_RESSTR(STR_NONAME)); SvLBoxEntry* pParent = pFocusBox->GetParent(pEntry); rtl::OUString aName(aNoName); sal_Int32 n = 1; diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx index b7c8c51eb360..2d6398b3da69 100644 --- a/sfx2/source/doc/objmisc.cxx +++ b/sfx2/source/doc/objmisc.cxx @@ -869,7 +869,7 @@ String SfxObjectShell::GetTitle return X(pImp->aTitle); // must it be numbered? - rtl::OUString aNoName(ResId::toString(SfxResId(STR_NONAME))); + rtl::OUString aNoName(SFX2_RESSTR(STR_NONAME)); if (pImp->bIsNamedVisible) { // Append number |