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

Julien Nabet serval2412 at yahoo.fr
Sat Feb 8 00:10:06 PST 2014


 sdext/source/presenter/PresenterPaneBorderManager.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4415f6b7b19c1e6f805c6a7c190c2bebeebdd648
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Feb 8 09:08:07 2014 +0100

    cppcheck: duplicateExpression
    
    See http://nabble.documentfoundation.org/Cppcheck-Same-expression-on-both-sides-of-in-PresenterPaneBorderManager-cxx-sdext-td4094873.html
    
    Change-Id: I7dbb8d0254ca77127250d6ca02de7b945ef8051e

diff --git a/sdext/source/presenter/PresenterPaneBorderManager.cxx b/sdext/source/presenter/PresenterPaneBorderManager.cxx
index 7285849..f02c4b0 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:


More information about the Libreoffice-commits mailing list