From 160cc0f6a5718bb7267b4a214c10c34eb5e08ee7 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 7 Feb 2014 12:12:38 +0200 Subject: [PATCH] 4 related coverity issues, unused pointer value coverity#708881, coverity#708882, coverity#708883, coverity#708884 Change-Id: I8ddcb2f7b2b70dc92b8d0d5f66bf944edc57157e --- sw/source/ui/shells/frmsh.cxx | 8 ++++---- 1 file 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); } }