diff options
-rw-r--r-- | basctl/source/basicide/bastype2.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basctl/source/basicide/bastype2.cxx b/basctl/source/basicide/bastype2.cxx index 9c130aaeb610..04da7715d3a8 100644 --- a/basctl/source/basicide/bastype2.cxx +++ b/basctl/source/basicide/bastype2.cxx @@ -365,7 +365,7 @@ void TreeListBox::ImpCreateLibSubEntries( SvTreeListEntry* pLibRootEntry, const SvTreeListEntry* pEntry = FindEntry( pModuleEntry, aName, OBJ_TYPE_METHOD ); if ( !pEntry ) { - pEntry = AddEntry( + AddEntry( aName, Image( IDEResId( RID_IMG_MACRO ) ), pModuleEntry, false, @@ -404,7 +404,7 @@ void TreeListBox::ImpCreateLibSubEntries( SvTreeListEntry* pLibRootEntry, const SvTreeListEntry* pDialogEntry = FindEntry( pLibRootEntry, aDlgName, OBJ_TYPE_DIALOG ); if ( !pDialogEntry ) { - pDialogEntry = AddEntry( + AddEntry( aDlgName, Image( IDEResId( RID_IMG_DIALOG ) ), pLibRootEntry, false, @@ -521,7 +521,7 @@ void TreeListBox::ImpCreateLibSubSubEntriesInVBAMode( SvTreeListEntry* pLibSubRo SvTreeListEntry* pEntry = FindEntry( pModuleEntry, aName, OBJ_TYPE_METHOD ); if ( !pEntry ) { - pEntry = AddEntry( + AddEntry( aName, Image( IDEResId( RID_IMG_MACRO ) ), pModuleEntry, false, |