From cb90f0976d20d0e9c61138f4572d14750ea3de07 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Thu, 27 Oct 2016 18:20:13 +0900 Subject: Omit the default comparator Change-Id: Idea8ea8dab6a86d7be6394aef1cf7f25b75009e0 Reviewed-on: https://gerrit.libreoffice.org/30319 Tested-by: Jenkins Reviewed-by: Takeshi Abe --- include/comphelper/IdPropArrayHelper.hxx | 2 +- include/comphelper/propagg.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/comphelper/IdPropArrayHelper.hxx b/include/comphelper/IdPropArrayHelper.hxx index a8b2f4e93f5d..59c83f1f92ad 100644 --- a/include/comphelper/IdPropArrayHelper.hxx +++ b/include/comphelper/IdPropArrayHelper.hxx @@ -40,7 +40,7 @@ namespace comphelper template struct OIdPropertyArrayUsageHelperMutex : public rtl::Static< ::osl::Mutex, OIdPropertyArrayUsageHelperMutex > {}; - typedef std::map< sal_Int32, ::cppu::IPropertyArrayHelper*, std::less< sal_Int32 > > OIdPropertyArrayMap; + typedef std::map< sal_Int32, ::cppu::IPropertyArrayHelper* > OIdPropertyArrayMap; template class OIdPropertyArrayUsageHelper { diff --git a/include/comphelper/propagg.hxx b/include/comphelper/propagg.hxx index fa91130d48ae..6481dd85d777 100644 --- a/include/comphelper/propagg.hxx +++ b/include/comphelper/propagg.hxx @@ -55,7 +55,7 @@ namespace internal bool operator <(const OPropertyAccessor& rOb) const { return nPos < rOb.nPos; } }; - typedef std::map< sal_Int32, OPropertyAccessor, ::std::less< sal_Int32 > > PropertyAccessorMap; + typedef std::map< sal_Int32, OPropertyAccessor > PropertyAccessorMap; typedef PropertyAccessorMap::iterator PropertyAccessorMapIterator; typedef PropertyAccessorMap::const_iterator ConstPropertyAccessorMapIterator; } -- cgit