summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/inc/slideshow.hxx4
-rw-r--r--sd/source/ui/slideshow/slideshow.cxx2
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx2
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.hxx2
-rw-r--r--sd/source/ui/view/viewshel.cxx4
5 files changed, 7 insertions, 7 deletions
diff --git a/sd/source/ui/inc/slideshow.hxx b/sd/source/ui/inc/slideshow.hxx
index 2f127f4610a3..afbfee68469b 100644
--- a/sd/source/ui/inc/slideshow.hxx
+++ b/sd/source/ui/inc/slideshow.hxx
@@ -49,7 +49,7 @@ namespace vcl { class Window; }
class SfxRequest;
class WorkWindow;
class CommandGestureSwipeData;
-class CommandLongPressData;
+class CommandGestureLongPressData;
struct ImplSVEvent;
// TODO: Remove
@@ -146,7 +146,7 @@ public:
!!!! This should only be called by the SdShowWindow !!!!*/
void pause( bool bPause );
bool swipe(const CommandGestureSwipeData &rSwipeData);
- bool longpress(const CommandLongPressData& rLongPressData);
+ bool longpress(const CommandGestureLongPressData& rLongPressData);
// settings
bool isFullScreen() const; // a.k.a. FuSlideShow::IsFullScreen()
diff --git a/sd/source/ui/slideshow/slideshow.cxx b/sd/source/ui/slideshow/slideshow.cxx
index 00702d422631..aeee4ca7cae0 100644
--- a/sd/source/ui/slideshow/slideshow.cxx
+++ b/sd/source/ui/slideshow/slideshow.cxx
@@ -1020,7 +1020,7 @@ bool SlideShow::swipe(const CommandGestureSwipeData& rSwipeData)
return mxController.is() && mxController->swipe(rSwipeData);
}
-bool SlideShow::longpress(const CommandLongPressData& rLongPressData)
+bool SlideShow::longpress(const CommandGestureLongPressData& rLongPressData)
{
return mxController.is() && mxController->longpress(rLongPressData);
}
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index b13ced3c128f..210a367b5007 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -1175,7 +1175,7 @@ bool SlideshowImpl::swipe(const CommandGestureSwipeData &rSwipeData)
return true;
}
-bool SlideshowImpl::longpress(const CommandLongPressData &rLongPressData)
+bool SlideshowImpl::longpress(const CommandGestureLongPressData &rLongPressData)
{
if (mnContextMenuEvent)
return false;
diff --git a/sd/source/ui/slideshow/slideshowimpl.hxx b/sd/source/ui/slideshow/slideshowimpl.hxx
index b6cd778d8763..748a1898cff8 100644
--- a/sd/source/ui/slideshow/slideshowimpl.hxx
+++ b/sd/source/ui/slideshow/slideshowimpl.hxx
@@ -186,7 +186,7 @@ public:
void hyperLinkClicked(const OUString & hyperLink);
void click(const css::uno::Reference< css::drawing::XShape > & xShape);
bool swipe(const CommandGestureSwipeData &rSwipeData);
- bool longpress(const CommandLongPressData& rLongPressData);
+ bool longpress(const CommandGestureLongPressData& rLongPressData);
/// ends the presentation async
void endPresentation();
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);
}
}