summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-08 16:02:44 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-08 16:10:44 +0100
commitb0668acdd28777290d063e49ccc003d02a888b3d (patch)
tree79062b5504e1468dc01fc0dde33591a8bef2ca5c /cui
parentded5c13bb5e4c345b04893ef0632336fef77a9fd (diff)
coverity#735403 Logically dead code
Change-Id: I73262dcd37e76bc299929d55e38fea25d2510609
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/iconcdlg.cxx3
1 files changed, 0 insertions, 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 );