From 94b16ec225b9e369654902a0698359baafc1f519 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 7 Sep 2015 18:43:52 +0200 Subject: clang-analyzer-deadcode.DeadStores ...the code was like this ever since 8ab086b6cc054501bfbf7ef6fa509c393691e860 "initial import" Change-Id: I808296a280c01f02adeba1018b9f9bc6977971d3 --- svtools/source/control/ruler.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'svtools') diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx index d8a8faa001d2..09af4c5dbc85 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; -- cgit