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

coverity#735403 Logically dead code

Change-Id: I73262dcd37e76bc299929d55e38fea25d2510609
üst ded5c13b
...@@ -1075,7 +1075,6 @@ bool IconChoiceDialog::OK_Impl() ...@@ -1075,7 +1075,6 @@ bool IconChoiceDialog::OK_Impl()
if ( pSet ) if ( pSet )
{ {
SfxItemSet aTmp( *pSet->GetPool(), pSet->GetRanges() ); SfxItemSet aTmp( *pSet->GetPool(), pSet->GetRanges() );
bool bRet = false;
if ( pPage->HasExchangeSupport() ) if ( pPage->HasExchangeSupport() )
nRet = pPage->DeactivatePage( &aTmp ); nRet = pPage->DeactivatePage( &aTmp );
...@@ -1086,8 +1085,6 @@ bool IconChoiceDialog::OK_Impl() ...@@ -1086,8 +1085,6 @@ bool IconChoiceDialog::OK_Impl()
pExampleSet->Put( aTmp ); pExampleSet->Put( aTmp );
pOutSet->Put( aTmp ); pOutSet->Put( aTmp );
} }
else if ( bRet )
bModified |= true;
} }
else else
nRet = pPage->DeactivatePage( NULL ); nRet = pPage->DeactivatePage( NULL );
......
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