diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-22 08:24:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-22 08:24:48 +0200 |
commit | 0552ec9828ad65b1cf90f4e5253f0108facd5bf3 (patch) | |
tree | b7b889ef11c53126304f77dd31d509fb633859ef /svx/source/unodraw/unoshtxt.cxx | |
parent | 2309217a55c8d5e6bdde2a6d4775f10415505fcd (diff) |
convert SdrHintKind to scoped enum
Change-Id: I77ad33425d440263a71bc94f41d8e141f16dfb78
Diffstat (limited to 'svx/source/unodraw/unoshtxt.cxx')
-rw-r--r-- | svx/source/unodraw/unoshtxt.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/unodraw/unoshtxt.cxx b/svx/source/unodraw/unoshtxt.cxx index 7f84e6744417..3d527c38a610 100644 --- a/svx/source/unodraw/unoshtxt.cxx +++ b/svx/source/unodraw/unoshtxt.cxx @@ -99,7 +99,7 @@ private: bool mbNeedsUpdate; bool mbOldUndoMode; bool mbForwarderIsEditMode; // have to reflect that, since ENDEDIT can happen more often - bool mbShapeIsEditMode; // #104157# only true, if HINT_BEGEDIT was received + bool mbShapeIsEditMode; // #104157# only true, if SdrHintKind::BeginEdit was received bool mbNotificationsDisabled; // prevent EditEngine/Outliner notifications (e.g. when setting up forwarder) SvxUnoTextRangeBaseList maTextRanges; @@ -340,7 +340,7 @@ void SvxTextEditSourceImpl::Notify(SfxBroadcaster& rBC, const SfxHint& rHint) { switch( pSdrHint->GetKind() ) { - case HINT_OBJCHG: + case SdrHintKind::ObjectChange: { mbDataValid = false; // Text muss neu geholt werden @@ -359,10 +359,10 @@ void SvxTextEditSourceImpl::Notify(SfxBroadcaster& rBC, const SfxHint& rHint) break; } - case HINT_BEGEDIT: + case SdrHintKind::BeginEdit: if( mpObject == pSdrHint->GetObject() ) { - // Once HINT_BEGEDIT is broadcast, each EditSource of + // Once SdrHintKind::BeginEdit is broadcast, each EditSource of // AccessibleCell will handle it here and call below: // mpView->GetTextEditOutliner()->SetNotifyHdl(), which // will replace the Notifer for current editable cell. It @@ -403,7 +403,7 @@ void SvxTextEditSourceImpl::Notify(SfxBroadcaster& rBC, const SfxHint& rHint) } break; - case HINT_ENDEDIT: + case SdrHintKind::EndEdit: if( mpObject == pSdrHint->GetObject() ) { Broadcast( *pSdrHint ); @@ -434,7 +434,7 @@ void SvxTextEditSourceImpl::Notify(SfxBroadcaster& rBC, const SfxHint& rHint) } break; - case HINT_MODELCLEARED: + case SdrHintKind::ModelCleared: dispose(); break; default: |