From ce92e1e5184a60eef627d5abb11d2b1cbe9c70c3 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 5 Oct 2015 10:06:57 +0200 Subject: clang-analyzer-deadcode.DeadStores Change-Id: I039fa6b7fb666b4108b37d5aa17b2dcd42d2af53 --- basctl/source/basicide/bastype2.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'basctl') 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, -- cgit v1.2.3