From b0668acdd28777290d063e49ccc003d02a888b3d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 8 May 2014 16:02:44 +0100 Subject: coverity#735403 Logically dead code Change-Id: I73262dcd37e76bc299929d55e38fea25d2510609 --- cui/source/dialogs/iconcdlg.cxx | 3 --- 1 file changed, 3 deletions(-) diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx index 3c5f7946c9d6..d8117d1d711e 100644 --- a/cui/source/dialogs/iconcdlg.cxx +++ b/cui/source/dialogs/iconcdlg.cxx @@ -1075,7 +1075,6 @@ bool IconChoiceDialog::OK_Impl() if ( pSet ) { SfxItemSet aTmp( *pSet->GetPool(), pSet->GetRanges() ); - bool bRet = false; if ( pPage->HasExchangeSupport() ) nRet = pPage->DeactivatePage( &aTmp ); @@ -1086,8 +1085,6 @@ bool IconChoiceDialog::OK_Impl() pExampleSet->Put( aTmp ); pOutSet->Put( aTmp ); } - else if ( bRet ) - bModified |= true; } else nRet = pPage->DeactivatePage( NULL ); -- cgit