From 388bed014ad19a23fa9879bc31a8088f34157a48 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 12 May 2022 15:30:50 +0200 Subject: Remove need for two typedefs Change-Id: I8e576f0b2b417ed78e6f38b745e51cbf8b666c68 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134262 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- include/comphelper/propagg.hxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include/comphelper') diff --git a/include/comphelper/propagg.hxx b/include/comphelper/propagg.hxx index 5be393be81e8..f7e47298b88b 100644 --- a/include/comphelper/propagg.hxx +++ b/include/comphelper/propagg.hxx @@ -58,9 +58,6 @@ namespace internal bool operator==(const OPropertyAccessor& rOb) const { return nPos == rOb.nPos; } bool operator <(const OPropertyAccessor& rOb) const { return nPos < rOb.nPos; } }; - - typedef std::map< sal_Int32, OPropertyAccessor > PropertyAccessorMap; - typedef PropertyAccessorMap::const_iterator ConstPropertyAccessorMapIterator; } @@ -93,7 +90,7 @@ class COMPHELPER_DLLPUBLIC OPropertyArrayAggregationHelper final : public ::cppu friend class OPropertySetAggregationHelper; std::vector m_aProperties; - internal::PropertyAccessorMap m_aPropertyAccessors; + std::map< sal_Int32, internal::OPropertyAccessor > m_aPropertyAccessors; public: /** construct the object. -- cgit