summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-07 12:07:53 +0200
committerNoel Grandin <noel@peralex.com>2014-02-07 12:14:33 +0200
commit7f2e336217ae98673dda5504a72891ad6834e81d (patch)
tree62c0bab18ce13545851d566348b1d28af24efc12
parente5dd09caafcc1e55797959a8b4373a39c42a3f18 (diff)
6 related coverity issues, unused pointer value
coverity#708890,coverity#708886,coverity#708888, coverity#708887,coverity#708885,coverity#708889 Change-Id: I4aeedea2d73614f4af935c58776605f49824374d
-rw-r--r--sw/source/ui/shells/tabsh.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/ui/shells/tabsh.cxx b/sw/source/ui/shells/tabsh.cxx
index 3ac93a1c2c3e..f94e04455d22 100644
--- a/sw/source/ui/shells/tabsh.cxx
+++ b/sw/source/ui/shells/tabsh.cxx
@@ -521,17 +521,17 @@ void SwTableShell::Execute(SfxRequest &rReq)
}
sal_Bool bLine = sal_False;
- if ( (pBorderLine = aBox.GetTop()) != NULL)
+ if( aBox.GetTop() != NULL )
aBox.SetLine(&aBorderLine, BOX_LINE_TOP), bLine |= sal_True;
- if ((pBorderLine = aBox.GetBottom()) != NULL)
+ if( aBox.GetBottom() != NULL )
aBox.SetLine(&aBorderLine, BOX_LINE_BOTTOM), bLine |= sal_True;
- if ((pBorderLine = aBox.GetLeft()) != NULL)
+ if( aBox.GetLeft() != NULL )
aBox.SetLine(&aBorderLine, BOX_LINE_LEFT), bLine |= sal_True;
- if ((pBorderLine = aBox.GetRight()) != NULL)
+ if( aBox.GetRight() != NULL )
aBox.SetLine(&aBorderLine, BOX_LINE_RIGHT), bLine |= sal_True;
- if ((pBorderLine = aInfo.GetHori()) != NULL)
+ if( aInfo.GetHori() != NULL )
aInfo.SetLine(&aBorderLine, BOXINFO_LINE_HORI), bLine |= sal_True;
- if ((pBorderLine = aInfo.GetVert()) != NULL)
+ if( aInfo.GetVert() != NULL )
aInfo.SetLine(&aBorderLine, BOXINFO_LINE_VERT), bLine |= sal_True;
aCoreSet.Put( aBox );