From 5437eb15ad3975b11c6eefe77dfd6687e0e73f81 Mon Sep 17 00:00:00 2001 From: Arkadiy Illarionov Date: Thu, 28 Jun 2018 23:32:05 +0300 Subject: tdf#96099 Remove trivial std::map typedefs in [cd]* Change-Id: I043d265d3d73a3e16f05d5ca7e29a09341651d82 Reviewed-on: https://gerrit.libreoffice.org/56639 Tested-by: Jenkins Reviewed-by: Noel Grandin --- cppuhelper/source/propertysetmixin.cxx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'cppuhelper') diff --git a/cppuhelper/source/propertysetmixin.cxx b/cppuhelper/source/propertysetmixin.cxx index 84f2432b7db7..0c4898fb00df 100644 --- a/cppuhelper/source/propertysetmixin.cxx +++ b/cppuhelper/source/propertysetmixin.cxx @@ -104,17 +104,15 @@ protected: css::uno::Sequence< rtl::OUString > const & absentOptional, std::vector< rtl::OUString > * handleNames) { - TypeSet seen; + std::set seen; initProperties(type, absentOptional, handleNames, &seen); } private: - typedef std::set< rtl::OUString > TypeSet; - void initProperties( css::uno::Reference< css::reflection::XTypeDescription > const & type, css::uno::Sequence< rtl::OUString > const & absentOptional, - std::vector< rtl::OUString > * handleNames, TypeSet * seen); + std::vector< rtl::OUString > * handleNames, std::set * seen); static css::uno::Reference< css::reflection::XTypeDescription > resolveTypedefs( @@ -135,7 +133,7 @@ Data::PropertyMap::const_iterator Data::get( void Data::initProperties( css::uno::Reference< css::reflection::XTypeDescription > const & type, css::uno::Sequence< rtl::OUString > const & absentOptional, - std::vector< rtl::OUString > * handleNames, TypeSet * seen) + std::vector< rtl::OUString > * handleNames, std::set * seen) { css::uno::Reference< css::reflection::XInterfaceTypeDescription2 > ifc( resolveTypedefs(type), css::uno::UNO_QUERY_THROW); -- cgit