From 4415f6b7b19c1e6f805c6a7c190c2bebeebdd648 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sat, 8 Feb 2014 09:08:07 +0100 Subject: cppcheck: duplicateExpression See http://nabble.documentfoundation.org/Cppcheck-Same-expression-on-both-sides-of-in-PresenterPaneBorderManager-cxx-sdext-td4094873.html Change-Id: I7dbb8d0254ca77127250d6ca02de7b945ef8051e --- sdext/source/presenter/PresenterPaneBorderManager.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdext/source/presenter/PresenterPaneBorderManager.cxx b/sdext/source/presenter/PresenterPaneBorderManager.cxx index 7285849938df..f02c4b0e1c7a 100644 --- a/sdext/source/presenter/PresenterPaneBorderManager.cxx +++ b/sdext/source/presenter/PresenterPaneBorderManager.cxx @@ -168,7 +168,7 @@ PresenterPaneBorderManager::BorderElement // Translate bits in nCode into BorderElement value. switch (nCode) { - case mnOutside | mnOutside: + case mnOutside: case mnOutside | mnLeft: case mnOutside | mnRight: case mnOutside | mnHorizontalCenter: -- cgit