Kaydet (Commit) cb90f097 authored tarafından Takeshi Abe's avatar Takeshi Abe

Omit the default comparator

Change-Id: Idea8ea8dab6a86d7be6394aef1cf7f25b75009e0
Reviewed-on: https://gerrit.libreoffice.org/30319Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarTakeshi Abe <tabe@fixedpoint.jp>
üst 9fa6dadc
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
namespace basctl namespace basctl
{ {
typedef ::std::multimap< sal_Int16, OUString, ::std::less< sal_Int16 > > IndexToNameMap; typedef ::std::multimap< sal_Int16, OUString > IndexToNameMap;
class DlgEdForm; class DlgEdForm;
......
...@@ -84,7 +84,7 @@ using namespace com::sun::star::script; ...@@ -84,7 +84,7 @@ using namespace com::sun::star::script;
using namespace com::sun::star::uno; using namespace com::sun::star::uno;
typedef ::cppu::WeakImplHelper< XInvocation > DocObjectWrapper_BASE; typedef ::cppu::WeakImplHelper< XInvocation > DocObjectWrapper_BASE;
typedef ::std::map< sal_Int16, Any, ::std::less< sal_Int16 > > OutParamMap; typedef ::std::map< sal_Int16, Any > OutParamMap;
class DocObjectWrapper : public DocObjectWrapper_BASE class DocObjectWrapper : public DocObjectWrapper_BASE
{ {
......
...@@ -34,8 +34,7 @@ struct ControllerFeature: public css::frame::DispatchInformation ...@@ -34,8 +34,7 @@ struct ControllerFeature: public css::frame::DispatchInformation
}; };
typedef ::std::map< OUString, typedef ::std::map< OUString,
ControllerFeature, ControllerFeature > SupportedFeatures;
::std::less< OUString > > SupportedFeatures;
struct FeatureState struct FeatureState
{ {
......
...@@ -37,8 +37,7 @@ namespace ...@@ -37,8 +37,7 @@ namespace
AccessibleEventObject > ClientEvent; AccessibleEventObject > ClientEvent;
typedef ::std::map< AccessibleEventNotifier::TClientId, typedef ::std::map< AccessibleEventNotifier::TClientId,
::comphelper::OInterfaceContainerHelper2*, ::comphelper::OInterfaceContainerHelper2* > ClientMap;
::std::less< AccessibleEventNotifier::TClientId > > ClientMap;
/// key is the end of the interval, value is the start of the interval /// key is the end of the interval, value is the start of the interval
typedef ::std::map<AccessibleEventNotifier::TClientId, typedef ::std::map<AccessibleEventNotifier::TClientId,
......
...@@ -40,7 +40,7 @@ namespace comphelper ...@@ -40,7 +40,7 @@ namespace comphelper
template <typename TYPE> struct OIdPropertyArrayUsageHelperMutex template <typename TYPE> struct OIdPropertyArrayUsageHelperMutex
: public rtl::Static< ::osl::Mutex, OIdPropertyArrayUsageHelperMutex<TYPE> > {}; : public rtl::Static< ::osl::Mutex, OIdPropertyArrayUsageHelperMutex<TYPE> > {};
typedef std::map< sal_Int32, ::cppu::IPropertyArrayHelper*, std::less< sal_Int32 > > OIdPropertyArrayMap; typedef std::map< sal_Int32, ::cppu::IPropertyArrayHelper* > OIdPropertyArrayMap;
template <class TYPE> template <class TYPE>
class OIdPropertyArrayUsageHelper class OIdPropertyArrayUsageHelper
{ {
......
...@@ -55,7 +55,7 @@ namespace internal ...@@ -55,7 +55,7 @@ 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, ::std::less< sal_Int32 > > PropertyAccessorMap; typedef std::map< sal_Int32, OPropertyAccessor > PropertyAccessorMap;
typedef PropertyAccessorMap::iterator PropertyAccessorMapIterator; typedef PropertyAccessorMap::iterator PropertyAccessorMapIterator;
typedef PropertyAccessorMap::const_iterator ConstPropertyAccessorMapIterator; typedef PropertyAccessorMap::const_iterator ConstPropertyAccessorMapIterator;
} }
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
namespace rptui namespace rptui
{ {
typedef ::std::multimap< sal_Int16, OUString, ::std::less< sal_Int16 > > IndexToNameMap; typedef ::std::multimap< sal_Int16, OUString > IndexToNameMap;
enum DlgEdHintKind enum DlgEdHintKind
{ {
RPTUI_HINT_WINDOWSCROLLED, RPTUI_HINT_WINDOWSCROLLED,
......
...@@ -50,7 +50,7 @@ namespace basprov ...@@ -50,7 +50,7 @@ namespace basprov
#define BASSCRIPT_DEFAULT_ATTRIBS() PropertyAttribute::BOUND | PropertyAttribute::TRANSIENT #define BASSCRIPT_DEFAULT_ATTRIBS() PropertyAttribute::BOUND | PropertyAttribute::TRANSIENT
typedef ::std::map< sal_Int16, Any, ::std::less< sal_Int16 > > OutParamMap; typedef ::std::map< sal_Int16, Any > OutParamMap;
// BasicScriptImpl // BasicScriptImpl
......
...@@ -101,7 +101,7 @@ namespace svx ...@@ -101,7 +101,7 @@ namespace svx
// translating between "slots" of the framework and "features" of the active control // translating between "slots" of the framework and "features" of the active control
typedef rtl::Reference<FmTextControlFeature> ControlFeature; typedef rtl::Reference<FmTextControlFeature> ControlFeature;
typedef ::std::map< SfxSlotId, ControlFeature, ::std::less< SfxSlotId > > ControlFeatures; typedef ::std::map< SfxSlotId, ControlFeature > ControlFeatures;
ControlFeatures m_aControlFeatures; ControlFeatures m_aControlFeatures;
SfxViewFrame* m_pViewFrame; SfxViewFrame* m_pViewFrame;
......
...@@ -156,7 +156,7 @@ public: ...@@ -156,7 +156,7 @@ public:
#endif #endif
}; };
typedef std::multiset<CellInfo, std::less<CellInfo> > CellInfoMultiSet; typedef std::multiset<CellInfo> CellInfoMultiSet;
typedef std::map<sal_uInt32, WW8TableNodeInfoInner*, typedef std::map<sal_uInt32, WW8TableNodeInfoInner*,
std::greater<sal_uInt32> > RowEndInners_t; std::greater<sal_uInt32> > RowEndInners_t;
......
...@@ -705,7 +705,7 @@ void SAL_CALL ControlModelContainerBase::setControlModels( const Sequence< Refer ...@@ -705,7 +705,7 @@ void SAL_CALL ControlModelContainerBase::setControlModels( const Sequence< Refer
} }
typedef ::std::multimap< sal_Int32, Reference< XControlModel >, ::std::less< sal_Int32 > > MapIndexToModel; typedef ::std::multimap< sal_Int32, Reference< XControlModel > > MapIndexToModel;
Sequence< Reference< XControlModel > > SAL_CALL ControlModelContainerBase::getControlModels( ) throw (RuntimeException, std::exception) Sequence< Reference< XControlModel > > SAL_CALL ControlModelContainerBase::getControlModels( ) throw (RuntimeException, std::exception)
......
...@@ -33,8 +33,7 @@ ...@@ -33,8 +33,7 @@
namespace skeletonmaker { namespace skeletonmaker {
typedef ::std::map< OString, ::std::vector< OString >, typedef ::std::map< OString, ::std::vector< OString > > ProtocolCmdMap;
::std::less< OString > > ProtocolCmdMap;
typedef ::std::vector< unoidl::AccumulationBasedServiceEntity::Property > typedef ::std::vector< unoidl::AccumulationBasedServiceEntity::Property >
AttributeInfo; AttributeInfo;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment