summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2017-08-10 22:08:10 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2017-08-27 14:05:27 +0200
commitb03aa410fa01d6b5a992e7e450a312e9629f99c6 (patch)
tree0368bfbce4764534c5d7d12b126c90b113953506 /sfx2
parent59d821df1e8f55b16afba2482a2fe889e9e78749 (diff)
Use 'else' for consecutive checks on rHint.GetId()
Change-Id: Ied5e23344aa58ade4ebc4a0deaf757f5af2e0899
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/sfxbasemodel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index 357a92c5510e..f0bacc853ca4 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -2744,7 +2744,7 @@ void SfxBaseModel::Notify( SfxBroadcaster& rBC ,
addTitle_Impl( m_pData->m_seqArguments, aTitle );
postEvent_Impl( GlobalEventConfig::GetEventName( GlobalEventId::TITLECHANGED ) );
}
- if ( rHint.GetId() == SfxHintId::ModeChanged )
+ else if ( rHint.GetId() == SfxHintId::ModeChanged )
{
postEvent_Impl( GlobalEventConfig::GetEventName( GlobalEventId::MODECHANGED ) );
}