diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-11 15:27:51 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-11 20:21:49 +0000 |
commit | 3c1cc16bb7b03e087781ae83262b217a2d23a693 (patch) | |
tree | a6fd9e63f9f8cd1baade47de39bc28e564129a1f | |
parent | 7c586c41329b57ff31dac1a452a5015b6f9c4432 (diff) |
coverity#704234 Logically dead code
Change-Id: I9a1010e6a7d830853a79cafa71a867f16fcceabc
-rw-r--r-- | framework/source/layoutmanager/layoutmanager.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx index b5ce84c42919..ca60d0aca1a4 100644 --- a/framework/source/layoutmanager/layoutmanager.cxx +++ b/framework/source/layoutmanager/layoutmanager.cxx @@ -1562,7 +1562,6 @@ throw (RuntimeException) WriteGuard aWriteLock( m_aLock ); bool bMustBeLayouted( false ); - bool bMustBeDestroyed( false ); bool bNotify( false ); OUString aElementType; OUString aElementName; @@ -1616,13 +1615,6 @@ throw (RuntimeException) aWriteLock.unlock(); /* SAFE AREA ----------------------------------------------------------------------------------------------- */ - if ( bMustBeDestroyed ) - { - if ( xComponent.is() ) - xComponent->dispose(); - bNotify = true; - } - if ( bMustBeLayouted ) doLayout(); |