summaryrefslogtreecommitdiff
path: root/basctl/source/dlged
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/dlged')
-rw-r--r--basctl/source/dlged/dlgedobj.cxx2
-rw-r--r--basctl/source/dlged/managelang.cxx12
-rw-r--r--basctl/source/dlged/propbrw.cxx10
3 files changed, 12 insertions, 12 deletions
diff --git a/basctl/source/dlged/dlgedobj.cxx b/basctl/source/dlged/dlgedobj.cxx
index 1941df09d8db..a66c95b8e4e5 100644
--- a/basctl/source/dlged/dlgedobj.cxx
+++ b/basctl/source/dlged/dlgedobj.cxx
@@ -797,7 +797,7 @@ sal_Bool DlgEdObj::supportsService( const sal_Char* _pServiceName ) const
if (nResId)
{
- aDefaultName = ResId::toString(IDEResId(nResId));
+ aDefaultName = IDE_RESSTR(nResId);
}
return aDefaultName;
diff --git a/basctl/source/dlged/managelang.cxx b/basctl/source/dlged/managelang.cxx
index 856d523154d3..ccdb32ff26c5 100644
--- a/basctl/source/dlged/managelang.cxx
+++ b/basctl/source/dlged/managelang.cxx
@@ -98,9 +98,9 @@ ManageLanguageDialog::ManageLanguageDialog( Window* pParent, boost::shared_ptr<L
m_aHelpBtn ( this, IDEResId( PB_HELP ) ),
m_aCloseBtn ( this, IDEResId( PB_CLOSE ) ),
m_pLocalizationMgr ( _pLMgr ),
- m_sDefLangStr (ResId::toString(IDEResId(STR_DEF_LANG))),
- m_sDeleteStr (ResId::toString(IDEResId(STR_DELETE))),
- m_sCreateLangStr (ResId::toString(IDEResId(STR_CREATE_LANG)))
+ m_sDefLangStr (IDE_RESSTR(STR_DEF_LANG)),
+ m_sDeleteStr (IDE_RESSTR(STR_DELETE)),
+ m_sCreateLangStr (IDE_RESSTR(STR_CREATE_LANG))
{
FreeResource();
@@ -306,9 +306,9 @@ SetDefaultLanguageDialog::SetDefaultLanguageDialog( Window* pParent, boost::shar
// change to "Add Interface Language" mode
SetHelpId( HID_BASICIDE_ADDNEW_LANGUAGE );
m_pCheckLangLB = new SvxCheckListBox( this, IDEResId( LB_ADD_LANGUAGE ) );
- SetText( ResId::toString( IDEResId( STR_ADDLANG_TITLE ) ) );
- m_aLanguageFT.SetText( ResId::toString( IDEResId( STR_ADDLANG_LABEL ) ) );
- m_aInfoFT.SetText( ResId::toString( IDEResId( STR_ADDLANG_INFO ) ) );
+ SetText( IDE_RESSTR(STR_ADDLANG_TITLE) );
+ m_aLanguageFT.SetText( IDE_RESSTR(STR_ADDLANG_LABEL) );
+ m_aInfoFT.SetText( IDE_RESSTR(STR_ADDLANG_INFO) );
}
FreeResource();
diff --git a/basctl/source/dlged/propbrw.cxx b/basctl/source/dlged/propbrw.cxx
index 3dddfbc4fa7e..0ffda09dcea8 100644
--- a/basctl/source/dlged/propbrw.cxx
+++ b/basctl/source/dlged/propbrw.cxx
@@ -324,8 +324,8 @@ void PropBrw::implSetNewObjectSequence
{
xObjectInspector->inspect( _rObjectSeq );
- ::rtl::OUString aText = ResId::toString(IDEResId(RID_STR_BRWTITLE_PROPERTIES));
- aText += ResId::toString(IDEResId(RID_STR_BRWTITLE_MULTISELECT));
+ ::rtl::OUString aText = IDE_RESSTR(RID_STR_BRWTITLE_PROPERTIES);
+ aText += IDE_RESSTR(RID_STR_BRWTITLE_MULTISELECT);
SetText( aText );
}
}
@@ -354,7 +354,7 @@ void PropBrw::implSetNewObject( const Reference< XPropertySet >& _rxObject )
if (xServiceInfo.is()) // single selection
{
sal_uInt16 nResId = 0;
- aName = ResId::toString(IDEResId(RID_STR_BRWTITLE_PROPERTIES));
+ aName = IDE_RESSTR(RID_STR_BRWTITLE_PROPERTIES);
if ( xServiceInfo->supportsService( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.awt.UnoControlDialogModel" ) ) ) )
{
@@ -447,12 +447,12 @@ void PropBrw::implSetNewObject( const Reference< XPropertySet >& _rxObject )
if (nResId)
{
- aName += ResId::toString(IDEResId(nResId));
+ aName += IDE_RESSTR(nResId);
}
}
else if (!_rxObject.is()) // no properties
{
- aName = ResId::toString(IDEResId(RID_STR_BRWTITLE_NO_PROPERTIES));
+ aName = IDE_RESSTR(RID_STR_BRWTITLE_NO_PROPERTIES);
}
return aName;