summaryrefslogtreecommitdiff
path: root/framework/source/dispatch/windowcommanddispatch.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/dispatch/windowcommanddispatch.cxx')
-rw-r--r--framework/source/dispatch/windowcommanddispatch.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/dispatch/windowcommanddispatch.cxx b/framework/source/dispatch/windowcommanddispatch.cxx
index 1470007553ae..adfce4908101 100644
--- a/framework/source/dispatch/windowcommanddispatch.cxx
+++ b/framework/source/dispatch/windowcommanddispatch.cxx
@@ -94,12 +94,12 @@ void WindowCommandDispatch::impl_stopListening()
IMPL_LINK(WindowCommandDispatch, impl_notifyCommand, VclWindowEvent&, rEvent, void)
{
- if (rEvent.GetId() == VCLEVENT_OBJECT_DYING)
+ if (rEvent.GetId() == VclEventId::ObjectDying)
{
impl_stopListening();
return;
}
- if (rEvent.GetId() != VCLEVENT_WINDOW_COMMAND)
+ if (rEvent.GetId() != VclEventId::WindowCommand)
return;
const CommandEvent* pCommand = static_cast<CommandEvent*>(rEvent.GetData());