summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2016-02-28 12:30:23 +0100
committerJulien Nabet <serval2412@yahoo.fr>2016-02-28 12:31:27 +0100
commit7104d0da9cbd976e51e805d64094a24dde6780b0 (patch)
treec8dbef090eec8ca65bd72c6c0b402e8a1743d4be /sw
parent787e17d15a1cdb259b56f91bfda9af80b95167c3 (diff)
cppcheck: Fix all badBitmaskCheck + 1 unreadVariable
Change-Id: If6012a25b0e1419525fb31266cbcff26e95459cf
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/shells/tabsh.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/sw/source/uibase/shells/tabsh.cxx b/sw/source/uibase/shells/tabsh.cxx
index 11b0355c7c87..ab92183f94d6 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 );