Kaydet (Commit) 3c1cc16b authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#704234 Logically dead code

Change-Id: I9a1010e6a7d830853a79cafa71a867f16fcceabc
üst 7c586c41
...@@ -1562,7 +1562,6 @@ throw (RuntimeException) ...@@ -1562,7 +1562,6 @@ throw (RuntimeException)
WriteGuard aWriteLock( m_aLock ); WriteGuard aWriteLock( m_aLock );
bool bMustBeLayouted( false ); bool bMustBeLayouted( false );
bool bMustBeDestroyed( false );
bool bNotify( false ); bool bNotify( false );
OUString aElementType; OUString aElementType;
OUString aElementName; OUString aElementName;
...@@ -1616,13 +1615,6 @@ throw (RuntimeException) ...@@ -1616,13 +1615,6 @@ throw (RuntimeException)
aWriteLock.unlock(); aWriteLock.unlock();
/* SAFE AREA ----------------------------------------------------------------------------------------------- */ /* SAFE AREA ----------------------------------------------------------------------------------------------- */
if ( bMustBeDestroyed )
{
if ( xComponent.is() )
xComponent->dispose();
bNotify = true;
}
if ( bMustBeLayouted ) if ( bMustBeLayouted )
doLayout(); doLayout();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment