diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-05 10:06:57 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-05 10:07:18 +0200 |
commit | ce92e1e5184a60eef627d5abb11d2b1cbe9c70c3 (patch) | |
tree | b2d4b76993844a6432c6ebd4a290ae46fa7dacd9 /basctl | |
parent | 75304346823ed4d5b6c7415b2f78e4022fdd8e72 (diff) |
clang-analyzer-deadcode.DeadStores
Change-Id: I039fa6b7fb666b4108b37d5aa17b2dcd42d2af53
Diffstat (limited to 'basctl')
-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, |