summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/eventqueue.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/source/engine/eventqueue.cxx b/slideshow/source/engine/eventqueue.cxx
index 4a46a0c806b6..86d58a5fe6b2 100644
--- a/slideshow/source/engine/eventqueue.cxx
+++ b/slideshow/source/engine/eventqueue.cxx
@@ -172,7 +172,7 @@ namespace slideshow::internal
&& !bFireAllEvents
&& (maEvents.empty() || maEvents.top().nTime > nCurrTime))
{
- const EventEntry aEvent (std::move(maNextNextEvents.top()));
+ const EventEntry aEvent (maNextNextEvents.top());
maNextNextEvents.pop();
maEvents.push(aEvent);
}
@@ -184,7 +184,7 @@ namespace slideshow::internal
while( !maEvents.empty() &&
(bFireAllEvents || maEvents.top().nTime <= nCurrTime) )
{
- EventEntry event( std::move(maEvents.top()) );
+ EventEntry event( maEvents.top() );
maEvents.pop();
// only process event, if it is still 'charged',