summaryrefslogtreecommitdiff
path: root/svx/source/sdr/animation/scheduler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/sdr/animation/scheduler.cxx')
-rw-r--r--svx/source/sdr/animation/scheduler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/sdr/animation/scheduler.cxx b/svx/source/sdr/animation/scheduler.cxx
index d4451c099a65..02017d915d97 100644
--- a/svx/source/sdr/animation/scheduler.cxx
+++ b/svx/source/sdr/animation/scheduler.cxx
@@ -154,7 +154,7 @@ namespace sdr::animation
{
if(!mvEvents.empty())
{
- mvEvents.erase(std::remove(mvEvents.begin(), mvEvents.end(), pOld), mvEvents.end());
+ std::erase(mvEvents, pOld);
checkTimeout();
}
}