sw/source/uibase/shells/tabsh.cxx |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit 7104d0da9cbd976e51e805d64094a24dde6780b0
Author: Julien Nabet <serval2...@yahoo.fr>
Date:   Sun Feb 28 12:30:23 2016 +0100

    cppcheck: Fix all badBitmaskCheck + 1 unreadVariable
    
    Change-Id: If6012a25b0e1419525fb31266cbcff26e95459cf

diff --git a/sw/source/uibase/shells/tabsh.cxx 
b/sw/source/uibase/shells/tabsh.cxx
index 11b0355..ab92183 100644
--- a/sw/source/uibase/shells/tabsh.cxx
+++ b/sw/source/uibase/shells/tabsh.cxx
@@ -523,36 +523,29 @@ void SwTableShell::Execute(SfxRequest &rReq)
                 aBorderLine.SetWidth( DEF_LINE_WIDTH_0 );
             }
 
-            bool bLine = false;
             if( aBox.GetTop() != nullptr )
             {
                 aBox.SetLine(&aBorderLine, SvxBoxItemLine::TOP);
-                bLine |= true;
             }
             if( aBox.GetBottom() != nullptr )
             {
                 aBox.SetLine(&aBorderLine, SvxBoxItemLine::BOTTOM);
-                bLine |= true;
             }
             if( aBox.GetLeft() != nullptr )
             {
                 aBox.SetLine(&aBorderLine, SvxBoxItemLine::LEFT);
-                bLine |= true;
             }
             if( aBox.GetRight() != nullptr )
             {
                 aBox.SetLine(&aBorderLine, SvxBoxItemLine::RIGHT);
-                bLine |= true;
             }
             if( aInfo.GetHori() != nullptr )
             {
                 aInfo.SetLine(&aBorderLine, SvxBoxInfoItemLine::HORI);
-                bLine |= true;
             }
             if( aInfo.GetVert() != nullptr )
             {
                 aInfo.SetLine(&aBorderLine, SvxBoxInfoItemLine::VERT);
-                bLine |= true;
             }
 
             aCoreSet.Put( aBox  );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to