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

Stephan Bergmann sbergman at redhat.com
Mon Sep 7 09:44:54 PDT 2015


 svtools/source/control/ruler.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 94b16ec225b9e369654902a0698359baafc1f519
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Sep 7 18:43:52 2015 +0200

    clang-analyzer-deadcode.DeadStores
    
    ...the code was like this ever since 8ab086b6cc054501bfbf7ef6fa509c393691e860
    "initial import"
    
    Change-Id: I808296a280c01f02adeba1018b9f9bc6977971d3

diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx
index d8a8faa..09af4c5 100644
--- a/svtools/source/control/ruler.cxx
+++ b/svtools/source/control/ruler.cxx
@@ -2372,11 +2372,9 @@ bool Ruler::StartDocDrag( const MouseEvent& rMEvt, RulerType eDragType )
                 mnDragPos    = aHitTest.nPos;
                 mnDragAryPos = aHitTest.nAryPos;
             }
-            eDragType = aHitTest.eType;
 
             DoubleClick();
 
-            eDragType       = RULER_TYPE_DONTKNOW;
             mnDragPos       = 0;
             mnDragAryPos    = 0;
 


More information about the Libreoffice-commits mailing list