summaryrefslogtreecommitdiffstats
path: root/sd/source/ui/tools/EventMultiplexer.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-22 08:24:14 +0200
committerNoel Grandin <noel@peralex.com>2016-08-22 08:24:48 +0200
commit0552ec9828ad65b1cf90f4e5253f0108facd5bf3 (patch)
treeb7b889ef11c53126304f77dd31d509fb633859ef /sd/source/ui/tools/EventMultiplexer.cxx
parentconvert SdrViewEditMode to scoped enum (diff)
downloadcore-0552ec9828ad65b1cf90f4e5253f0108facd5bf3.tar.gz
core-0552ec9828ad65b1cf90f4e5253f0108facd5bf3.zip
convert SdrHintKind to scoped enum
Change-Id: I77ad33425d440263a71bc94f41d8e141f16dfb78
Diffstat (limited to 'sd/source/ui/tools/EventMultiplexer.cxx')
-rw-r--r--sd/source/ui/tools/EventMultiplexer.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sd/source/ui/tools/EventMultiplexer.cxx b/sd/source/ui/tools/EventMultiplexer.cxx
index 7a505eeb871b..3b048aedf555 100644
--- a/sd/source/ui/tools/EventMultiplexer.cxx
+++ b/sd/source/ui/tools/EventMultiplexer.cxx
@@ -641,26 +641,26 @@ void EventMultiplexer::Implementation::Notify (
{
switch (pSdrHint->GetKind())
{
- case HINT_MODELCLEARED:
- case HINT_PAGEORDERCHG:
+ case SdrHintKind::ModelCleared:
+ case SdrHintKind::PageOrderChange:
CallListeners (EventMultiplexerEvent::EID_PAGE_ORDER);
break;
- case HINT_SWITCHTOPAGE:
+ case SdrHintKind::SwitchToPage:
CallListeners (EventMultiplexerEvent::EID_CURRENT_PAGE);
break;
- case HINT_OBJCHG:
+ case SdrHintKind::ObjectChange:
CallListeners(EventMultiplexerEvent::EID_SHAPE_CHANGED,
const_cast<void*>(static_cast<const void*>(pSdrHint->GetPage())));
break;
- case HINT_OBJINSERTED:
+ case SdrHintKind::ObjectInserted:
CallListeners(EventMultiplexerEvent::EID_SHAPE_INSERTED,
const_cast<void*>(static_cast<const void*>(pSdrHint->GetPage())));
break;
- case HINT_OBJREMOVED:
+ case SdrHintKind::ObjectRemoved:
CallListeners(EventMultiplexerEvent::EID_SHAPE_REMOVED,
const_cast<void*>(static_cast<const void*>(pSdrHint->GetPage())));
break;