basctl/source/basicide/bastype2.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit ce92e1e5184a60eef627d5abb11d2b1cbe9c70c3
Author: Stephan Bergmann <[email protected]>
Date:   Mon Oct 5 10:06:57 2015 +0200

    clang-analyzer-deadcode.DeadStores
    
    Change-Id: I039fa6b7fb666b4108b37d5aa17b2dcd42d2af53

diff --git a/basctl/source/basicide/bastype2.cxx 
b/basctl/source/basicide/bastype2.cxx
index 9c130aa..04da771 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,
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to