summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/genericpropertyhandler.cxx
diff options
context:
space:
mode:
authorDaniel Robertson <danlrobertson89@gmail.com>2015-08-07 23:09:04 -0400
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2015-08-08 12:31:06 +0000
commit4ce10ff6ce725212efa91a017a61e1bd781008c1 (patch)
tree3e378186e53539970c5a6bbfa31db12f59099cd9 /extensions/source/propctrlr/genericpropertyhandler.cxx
parent717b23ef2765678a5598d652956edd77d2d62fc5 (diff)
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/genericpropertyhandler.cxx')
-rw-r--r--extensions/source/propctrlr/genericpropertyhandler.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/propctrlr/genericpropertyhandler.cxx b/extensions/source/propctrlr/genericpropertyhandler.cxx
index de94363d82d7..af489cc70d45 100644
--- a/extensions/source/propctrlr/genericpropertyhandler.cxx
+++ b/extensions/source/propctrlr/genericpropertyhandler.cxx
@@ -41,7 +41,6 @@
#include <tools/debug.hxx>
#include <algorithm>
-#include <o3tl/compat_functional.hxx>
extern "C" void SAL_CALL createRegistryInfo_GenericPropertyHandler()
{
@@ -531,7 +530,8 @@ namespace pcr
Sequence< Property > aReturn( m_aProperties.size() );
::std::transform( m_aProperties.begin(), m_aProperties.end(),
- aReturn.getArray(), ::o3tl::select2nd< PropertyMap::value_type >() );
+ aReturn.getArray(), []( const ::std::pair< PropertyMap::key_type, PropertyMap::mapped_type >& cp )
+ { return cp.second; } );
return aReturn;
}