diff options
author | Daniel Robertson <danlrobertson89@gmail.com> | 2015-07-31 10:24:01 -0400 |
---|---|---|
committer | David Ostrovsky <david@ostrovsky.org> | 2015-08-01 06:25:49 +0000 |
commit | 5916d5866c109b17471a9c8604635612a0aa69ae (patch) | |
tree | adcf88686cd5d0472edcd06908eb84b3e670e3d9 /chart2/source/model | |
parent | b593044e9c3d549d0edda43ba00cda67e089322a (diff) |
tdf#92459 replace deprecated o3tl features
Replace all uses of deprecated features from o3tl/compat_functional.hxx
with lambda expressions.
Change-Id: I6370c80dbe675da517904e535e19bf63830c3e2c
Reviewed-on: https://gerrit.libreoffice.org/17450
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
Diffstat (limited to 'chart2/source/model')
-rw-r--r-- | chart2/source/model/template/ChartTypeManager.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/model/template/ChartTypeManager.cxx b/chart2/source/model/template/ChartTypeManager.cxx index 1425813c0f54..17abb3531318 100644 --- a/chart2/source/model/template/ChartTypeManager.cxx +++ b/chart2/source/model/template/ChartTypeManager.cxx @@ -45,7 +45,6 @@ #include <algorithm> #include <iterator> #include <functional> -#include <o3tl/compat_functional.hxx> using namespace ::com::sun::star; @@ -575,7 +574,8 @@ uno::Sequence< OUString > SAL_CALL ChartTypeManager::getAvailableServiceNames() // get own default templates ::std::transform( rMap.begin(), rMap.end(), ::std::back_inserter( aServices ), - ::o3tl::select1st< tTemplateMapType::value_type >()); + []( const ::std::pair< OUString, TemplateId >& cp ) + { return cp.first; } ); // add components that were registered in the context's factory uno::Reference< container::XContentEnumerationAccess > xEnumAcc( |