diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-12-18 09:02:19 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-12-18 09:02:19 +0000 |
commit | 5258b4153239ebd8753b2dd30408df58859f29bb (patch) | |
tree | 25057b6e3e54c6d8de7cf5613ad1f94728498cc2 | |
parent | 71129c2aa3fc9c4d68e5d16c80c750115487b9b4 (diff) |
coverity#1426315 Logically dead code
Change-Id: I61368c5fa5675ac6a9e43642700ae3ea03d2fda9
-rw-r--r-- | sw/source/core/layout/flylay.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/flylay.cxx b/sw/source/core/layout/flylay.cxx index 92342f5928f6..ae487ebee352 100644 --- a/sw/source/core/layout/flylay.cxx +++ b/sw/source/core/layout/flylay.cxx @@ -717,7 +717,7 @@ void SwFlyLayFrame::Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew ) if (pNew) { - const sal_uInt16 nWhich = pNew ? pNew->Which() : 0; + const sal_uInt16 nWhich = pNew->Which(); if( RES_ATTRSET_CHG == nWhich && SfxItemState::SET == static_cast<const SwAttrSetChg*>(pNew)->GetChgSet()->GetItemState( RES_ANCHOR, false, reinterpret_cast<const SfxPoolItem**>(&pAnch) )) |