diff options
-rw-r--r-- | sw/source/ui/shells/frmsh.cxx | 8 |
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); } } |