From 2d48f5fc0a4f7b5b8c9d3a4f4cc85d5f3a7e5053 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 6 Dec 2016 13:26:09 +0200 Subject: convert VCLEVENT constants to scoped enum Change-Id: Ic8ccb0a9715ec05182dacddab2c015b0de6a0fba Reviewed-on: https://gerrit.libreoffice.org/31675 Tested-by: Jenkins Reviewed-by: Noel Grandin --- desktop/source/deployment/gui/dp_gui_dialog2.cxx | 2 +- desktop/source/splash/splash.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'desktop') diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx index 45c5fd491e6c..46a9d65e41f1 100644 --- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx +++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx @@ -996,7 +996,7 @@ bool ExtMgrDialog::EventNotify( NotifyEvent& rNEvt ) if ( aKeyCode.GetGroup() == KEYGROUP_CURSOR ) bHandled = m_pExtensionBox->EventNotify(rNEvt); } -// VCLEVENT_WINDOW_CLOSE +// VclEventId::WindowClose if ( !bHandled ) return ModelessDialog::EventNotify(rNEvt); else diff --git a/desktop/source/splash/splash.cxx b/desktop/source/splash/splash.cxx index a9b62cb6a0e7..a7385ae5bb7a 100644 --- a/desktop/source/splash/splash.cxx +++ b/desktop/source/splash/splash.cxx @@ -370,7 +370,7 @@ IMPL_LINK( SplashScreen, AppEventListenerHdl, VclSimpleEvent&, inEvent, void ) { switch ( inEvent.GetId() ) { - case VCLEVENT_WINDOW_SHOW: + case VclEventId::WindowShow: pWindow->Redraw(); break; default: -- cgit