diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-29 16:27:00 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-29 18:12:07 +0000 |
commit | 55033ba6062ae2c5855a0f3c49ec0a7c6a88904f (patch) | |
tree | 6db261dd58f7bf73996b7097b6128ff8d51a8a83 /sw/source | |
parent | 9037a4035b4283de803151154b8c073944ff3c45 (diff) |
coverity#704353 Logically dead code
Change-Id: I6d8ae15ca5ec647b1429fb47a3e976501165e780
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/docnode/section.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sw/source/core/docnode/section.cxx b/sw/source/core/docnode/section.cxx index 499fe8a4d353..e57287a3ff52 100644 --- a/sw/source/core/docnode/section.cxx +++ b/sw/source/core/docnode/section.cxx @@ -411,7 +411,6 @@ void SwSection::SetEditInReadonly(bool const bFlag) void SwSection::Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew ) { - bool bRemake = false; bool bUpdateFtn = false; switch( pOld ? pOld->Which() : pNew ? pNew->Which() : 0 ) { @@ -519,12 +518,6 @@ void SwSection::Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew ) break; } - if( bRemake ) - { - GetFmt()->DelFrms(); - GetFmt()->MakeFrms(); - } - if( bUpdateFtn ) { SwSectionNode* pSectNd = GetFmt()->GetSectionNode( false ); |