From 0552ec9828ad65b1cf90f4e5253f0108facd5bf3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 22 Aug 2016 08:24:14 +0200 Subject: convert SdrHintKind to scoped enum Change-Id: I77ad33425d440263a71bc94f41d8e141f16dfb78 --- sd/source/ui/unoidl/unomodel.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sd/source/ui/unoidl/unomodel.cxx') diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index 0f14dfbdbd1a..27fd3ce6361f 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -158,7 +158,7 @@ void SdUnoForbiddenCharsTable::Notify( SfxBroadcaster&, const SfxHint& rHint ) t if( pSdrHint ) { - if( HINT_MODELCLEARED == pSdrHint->GetKind() ) + if( SdrHintKind::ModelCleared == pSdrHint->GetKind() ) { mpModel = nullptr; } @@ -417,7 +417,7 @@ void SdXImpressDocument::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) notifyEvent( aEvent ); } - if( pSdrHint->GetKind() == HINT_MODELCLEARED ) + if( pSdrHint->GetKind() == SdrHintKind::ModelCleared ) { if( mpDoc ) EndListening( *mpDoc ); -- cgit