coverity#1202773 Logically dead code

I can't find any evidence that it was possible to be
other than true/false here before sal_Bool got converted
to bool

Change-Id: Ieacc780b5f5abce0fe166337a50284bd5e0aef45
This commit is contained in:
Caolán McNamara
2014-04-16 14:40:24 +01:00
parent 98a39af312
commit bcbf14f607

View File

@@ -217,8 +217,6 @@ SfxDocumentInfoItem::SfxDocumentInfoItem()
{
}
SfxDocumentInfoItem::SfxDocumentInfoItem( const OUString& rFile,
const uno::Reference<document::XDocumentProperties>& i_xDocProps,
const uno::Sequence<document::CmisProperty>& i_cmisProps,
@@ -1112,12 +1110,7 @@ void SfxDocumentPage::Reset( const SfxItemSet& rSet )
m_pInfoItem->getEditingCycles() ) );
}
TriState eState = (TriState)m_bUseUserData;
if ( TRISTATE_INDET == eState )
m_pUseUserDataCB->EnableTriState( true );
m_pUseUserDataCB->SetState( eState );
m_pUseUserDataCB->SetState( static_cast<TriState>(m_bUseUserData) );
m_pUseUserDataCB->SaveValue();
m_pUseUserDataCB->Enable( bEnableUseUserData );
bHandleDelete = false;