summaryrefslogtreecommitdiff
path: root/vcl/source/control/spinbtn.cxx
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 /vcl/source/control/spinbtn.cxx
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 'vcl/source/control/spinbtn.cxx')
-rw-r--r--vcl/source/control/spinbtn.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/spinbtn.cxx b/vcl/source/control/spinbtn.cxx
index a6c4329bbfe9..d56138c6cde4 100644
--- a/vcl/source/control/spinbtn.cxx
+++ b/vcl/source/control/spinbtn.cxx
@@ -431,7 +431,7 @@ tools::Rectangle* SpinButton::ImplFindPartRect( const Point& rPt )
bool SpinButton::PreNotify( NotifyEvent& rNEvt )
{
- if (rNEvt.GetType() == MouseNotifyEvent::MOUSEMOVE)
+ if (rNEvt.GetType() == NotifyEventType::MOUSEMOVE)
{
const MouseEvent* pMouseEvt = rNEvt.GetMouseEvent();
if (pMouseEvt && !pMouseEvt->GetButtons() && !pMouseEvt->IsSynthetic() && !pMouseEvt->IsModifierChanged())