summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2022-09-15 10:19:45 +0200
committerSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2022-09-19 11:42:59 +0200
commit467085bfb0f595a094389c2de159589372d36d1e (patch)
tree1124baddedd97a081015513aab0dd8656fe3d683 /sd/source
parentde90c192cb8f1f03a4028493d8bfe9a127a76b2a (diff)
Rename MouseNotifyEvent to NotifyEventType
Also contains keyboard and focus events, not only mouse events Change-Id: Iec1d6c341b01a489ba80fe9634ea3579afb02ea9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139970 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/view/viewshel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx
index 153a0c52a804..0cfc4b185b49 100644
--- a/sd/source/ui/view/viewshel.cxx
+++ b/sd/source/ui/view/viewshel.cxx
@@ -646,7 +646,7 @@ bool ViewShell::Notify(NotifyEvent const & rNEvt, ::sd::Window* pWin)
{
// handle scroll commands when they arrived at child windows
bool bRet = false;
- if( rNEvt.GetType() == MouseNotifyEvent::COMMAND )
+ if( rNEvt.GetType() == NotifyEventType::COMMAND )
{
// note: dynamic_cast is not possible as GetData() returns a void*
CommandEvent* pCmdEvent = static_cast< CommandEvent* >(rNEvt.GetData());