summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/viewshel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/viewshel.cxx')
-rw-r--r--sd/source/ui/view/viewshel.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx
index 5df0bf11d00a..153a0c52a804 100644
--- a/sd/source/ui/view/viewshel.cxx
+++ b/sd/source/ui/view/viewshel.cxx
@@ -671,12 +671,12 @@ bool ViewShell::HandleScrollCommand(const CommandEvent& rCEvt, ::sd::Window* pWi
}
}
break;
- case CommandEventId::LongPress:
+ case CommandEventId::GestureLongPress:
{
rtl::Reference< SlideShow > xSlideShow( SlideShow::GetSlideShow( GetViewShellBase() ) );
if (xSlideShow.is())
{
- const CommandLongPressData* pLongPressData = rCEvt.GetLongPressData();
+ const CommandGestureLongPressData* pLongPressData = rCEvt.GetLongPressData();
bDone = xSlideShow->longpress(*pLongPressData);
}
}