summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorArkadiy Illarionov <qarkai@gmail.com>2018-06-28 23:32:05 +0300
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-06-29 08:46:34 +0200
commit5437eb15ad3975b11c6eefe77dfd6687e0e73f81 (patch)
tree3d2e1996415ed9e27a50366b6ef5f8e5767b8e05 /cppuhelper
parentff597693035d0f60dc53f884e3c456b1048d92ab (diff)
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/propertysetmixin.cxx8
1 files changed, 3 insertions, 5 deletions
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<rtl::OUString> 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<rtl::OUString> * 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<rtl::OUString> * seen)
{
css::uno::Reference< css::reflection::XInterfaceTypeDescription2 > ifc(
resolveTypedefs(type), css::uno::UNO_QUERY_THROW);