summaryrefslogtreecommitdiff
path: root/svtools/source/config/miscopt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/config/miscopt.cxx')
-rw-r--r--svtools/source/config/miscopt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/config/miscopt.cxx b/svtools/source/config/miscopt.cxx
index 625086eee24c..ca8537b1c38c 100644
--- a/svtools/source/config/miscopt.cxx
+++ b/svtools/source/config/miscopt.cxx
@@ -228,7 +228,7 @@ void SvtMiscOptions_Impl::AddListenerLink( const Link<LinkParamNone*,void>& rLin
void SvtMiscOptions_Impl::RemoveListenerLink( const Link<LinkParamNone*,void>& rLink )
{
- aList.erase(std::remove(aList.begin(), aList.end(), rLink), aList.end());
+ std::erase(aList, rLink);
}
void SvtMiscOptions_Impl::CallListeners()