[Libreoffice-commits] core.git: svx/source

Stephan Bergmann sbergman at redhat.com
Wed Sep 9 03:14:05 PDT 2015


 svx/source/svdraw/svdcrtv.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 5fc85f6da173fdd7c44c353de3b60d8eea4b75ae
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Sep 9 12:11:52 2015 +0200

    clang-analyzer-deadcode.DeadStores
    
    ...ever since that block of code got added into SdrCreateView::EndCreateObj with
    b3a18f15738c308d1879b0c24204cf1660c640c1 "#83403# Use one common method for
    inserting scenes into scenes."
    
    Change-Id: Icd89d5ef2fa0601f82fa4b7d7610c709d49269af

diff --git a/svx/source/svdraw/svdcrtv.cxx b/svx/source/svdraw/svdcrtv.cxx
index d263aad..71881a1 100644
--- a/svx/source/svdraw/svdcrtv.cxx
+++ b/svx/source/svdraw/svdcrtv.cxx
@@ -662,7 +662,6 @@ bool SdrCreateView::EndCreateObj(SdrCreateCmd eCmd)
                         // delete object, its content is cloned and inserted
                         SdrObject::Free( pObjMerk );
                         pObjMerk = 0L;
-                        bRet = false;
                         bSceneIntoScene = true;
                     }
                 }


More information about the Libreoffice-commits mailing list