diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-06-14 13:35:37 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-06-15 11:56:55 +0200 |
commit | 5a2e09989a4b9746a56f15fe7499067a4327fbae (patch) | |
tree | 846226a33613d2de8621717ced337328649d1155 /editeng/source/items/numitem.cxx | |
parent | 7eac94da23f2f4460252eae5fa073fd1d833ba99 (diff) |
cppcheck:redundantCondition
Change-Id: Ib8b6342d1da526df6104125ded546b3f053c448b
Diffstat (limited to 'editeng/source/items/numitem.cxx')
-rw-r--r-- | editeng/source/items/numitem.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx index f99fff5f9203..c25121471652 100644 --- a/editeng/source/items/numitem.cxx +++ b/editeng/source/items/numitem.cxx @@ -398,7 +398,7 @@ void SvxNumberFormat::SetGraphicBrush( const SvxBrushItem* pBrushItem, delete pGraphicBrush; pGraphicBrush = 0; } - else if ( !pGraphicBrush || !(*pBrushItem == *pGraphicBrush) ) + else if ( !pGraphicBrush || (*pBrushItem != *pGraphicBrush) ) { delete pGraphicBrush; pGraphicBrush = static_cast<SvxBrushItem*>(pBrushItem->Clone()); |