diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2017-08-10 22:08:10 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2017-08-27 14:05:27 +0200 |
commit | b03aa410fa01d6b5a992e7e450a312e9629f99c6 (patch) | |
tree | 0368bfbce4764534c5d7d12b126c90b113953506 /sfx2 | |
parent | 59d821df1e8f55b16afba2482a2fe889e9e78749 (diff) |
Use 'else' for consecutive checks on rHint.GetId()
Change-Id: Ied5e23344aa58ade4ebc4a0deaf757f5af2e0899
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/sfxbasemodel.cxx | 2 |
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 ) ); } |