diff options
author | Daniel Robertson <danlrobertson89@gmail.com> | 2015-08-07 23:09:04 -0400 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2015-08-08 12:31:06 +0000 |
commit | 4ce10ff6ce725212efa91a017a61e1bd781008c1 (patch) | |
tree | 3e378186e53539970c5a6bbfa31db12f59099cd9 /extensions/source/propctrlr/eventhandler.cxx | |
parent | tdf#92459 replace deprecated o3tl features (diff) | |
download | core-4ce10ff6ce725212efa91a017a61e1bd781008c1.tar.gz core-4ce10ff6ce725212efa91a017a61e1bd781008c1.zip |
tdf#92459 remove compat_functional from extensions
Replace all uses of deprecated features from the o3tl in
compat_functional.hxx with lambda expressions in extensions. There
should be no side effects due to this patch.
Change-Id: Ib9a217c1d61593eaba82431ab047e5b899c74568
Reviewed-on: https://gerrit.libreoffice.org/17587
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'extensions/source/propctrlr/eventhandler.cxx')
-rw-r--r-- | extensions/source/propctrlr/eventhandler.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/source/propctrlr/eventhandler.cxx b/extensions/source/propctrlr/eventhandler.cxx index b5217091759a..6a15c56f034e 100644 --- a/extensions/source/propctrlr/eventhandler.cxx +++ b/extensions/source/propctrlr/eventhandler.cxx @@ -68,7 +68,6 @@ #include <map> #include <algorithm> -#include <o3tl/compat_functional.hxx> extern "C" void SAL_CALL createRegistryInfo_EventHandler() { @@ -776,7 +775,7 @@ namespace pcr StlSyntaxSequence< Property > aReturn( aOrderedProperties.size() ); ::std::transform( aOrderedProperties.begin(), aOrderedProperties.end(), aReturn.begin(), - ::o3tl::select2nd< ::std::map< EventId, Property >::value_type >() ); + []( const ::std::pair< EventId, Property >& cp ) { return cp.second; } ); return aReturn; } |