summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-07 12:12:38 +0200
committerNoel Grandin <noel@peralex.com>2014-02-07 12:14:33 +0200
commit160cc0f6a5718bb7267b4a214c10c34eb5e08ee7 (patch)
treeeaa35a07f580882fffc4c0710c2fa61b3eef5468 /sw/source
parent7f2e336217ae98673dda5504a72891ad6834e81d (diff)
4 related coverity issues, unused pointer value
coverity#708881, coverity#708882, coverity#708883, coverity#708884 Change-Id: I8ddcb2f7b2b70dc92b8d0d5f66bf944edc57157e
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/ui/shells/frmsh.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/shells/frmsh.cxx b/sw/source/ui/shells/frmsh.cxx
index 3b8deb34fb43..5467a6f32774 100644
--- a/sw/source/ui/shells/frmsh.cxx
+++ b/sw/source/ui/shells/frmsh.cxx
@@ -1018,13 +1018,13 @@ void SwFrameShell::ExecFrameStyle(SfxRequest& rReq)
aBoxItem = aNewBox;
SvxBorderLine aDestBorderLine;
- if ((pBorderLine = aBoxItem.GetTop()) != NULL)
+ if( aBoxItem.GetTop() != NULL )
aBoxItem.SetLine(&aBorderLine, BOX_LINE_TOP);
- if ((pBorderLine = aBoxItem.GetBottom()) != NULL)
+ if( aBoxItem.GetBottom() != NULL )
aBoxItem.SetLine(&aBorderLine, BOX_LINE_BOTTOM);
- if ((pBorderLine = aBoxItem.GetLeft()) != NULL)
+ if( aBoxItem.GetLeft() != NULL )
aBoxItem.SetLine(&aBorderLine, BOX_LINE_LEFT);
- if ((pBorderLine = aBoxItem.GetRight()) != NULL)
+ if( aBoxItem.GetRight() != NULL )
aBoxItem.SetLine(&aBorderLine, BOX_LINE_RIGHT);
}
}