diff options
author | Daniel Robertson <danlrobertson89@gmail.com> | 2015-08-02 20:12:35 -0400 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-08-03 06:48:14 +0000 |
commit | 7339c360ef55fdde99907e1e34a231386ebc534e (patch) | |
tree | 18c01076437b62e6c12b1a3d03a4029e9a86d6e9 /dbaccess/source/ui/dlg | |
parent | 2660d24a07866e083c5135ea263030f3e3a2e729 (diff) |
tdf92459 replace select1st/2nd in dbaccess
Replace all uses of deprecated features in the o3tl with lambda
expressions in dbaccess.
Change-Id: I865bb5db5257e985a0eed0110874d6b29892fcfb
Reviewed-on: https://gerrit.libreoffice.org/17483
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'dbaccess/source/ui/dlg')
-rw-r--r-- | dbaccess/source/ui/dlg/DbAdminImpl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/dlg/DbAdminImpl.cxx b/dbaccess/source/ui/dlg/DbAdminImpl.cxx index 97c6452ce663..03c30af11c2d 100644 --- a/dbaccess/source/ui/dlg/DbAdminImpl.cxx +++ b/dbaccess/source/ui/dlg/DbAdminImpl.cxx @@ -70,7 +70,6 @@ #include <algorithm> #include <functional> -#include <o3tl/compat_functional.hxx> namespace dbaui { @@ -773,7 +772,8 @@ void ODbDataSourceAdministrationHelper::fillDatasourceInfo(const SfxItemSet& _rS ::std::transform(m_aIndirectPropTranslator.begin(), m_aIndirectPropTranslator.end(), ::std::insert_iterator<StringSet>(aIndirectProps,aIndirectProps.begin()), - ::o3tl::select2nd<MapInt2String::value_type>()); + []( const ::std::pair< MapInt2String::key_type, MapInt2String::mapped_type >& cp ) + { return cp.second; }); // now check the to-be-preserved props ::std::vector< sal_Int32 > aRemoveIndexes; |