diff options
Diffstat (limited to 'comphelper/source/misc/accessibleeventnotifier.cxx')
-rw-r--r-- | comphelper/source/misc/accessibleeventnotifier.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/comphelper/source/misc/accessibleeventnotifier.cxx b/comphelper/source/misc/accessibleeventnotifier.cxx index 742de12ff6cb..9eeeafc45b29 100644 --- a/comphelper/source/misc/accessibleeventnotifier.cxx +++ b/comphelper/source/misc/accessibleeventnotifier.cxx @@ -33,14 +33,14 @@ using namespace ::comphelper; namespace { - typedef ::std::pair< AccessibleEventNotifier::TClientId, + typedef std::pair< AccessibleEventNotifier::TClientId, AccessibleEventObject > ClientEvent; - typedef ::std::map< AccessibleEventNotifier::TClientId, + typedef std::map< AccessibleEventNotifier::TClientId, ::comphelper::OInterfaceContainerHelper2* > ClientMap; /// key is the end of the interval, value is the start of the interval - typedef ::std::map<AccessibleEventNotifier::TClientId, + typedef std::map<AccessibleEventNotifier::TClientId, AccessibleEventNotifier::TClientId> IntervalMap; struct lclMutex @@ -51,8 +51,8 @@ namespace : public rtl::StaticWithInit<IntervalMap, FreeIntervals> { IntervalMap operator() () { IntervalMap map; - map.insert(::std::make_pair( - ::std::numeric_limits<AccessibleEventNotifier::TClientId>::max(), 1)); + map.insert(std::make_pair( + std::numeric_limits<AccessibleEventNotifier::TClientId>::max(), 1)); return map; } }; @@ -73,12 +73,12 @@ namespace if (lower != rFreeIntervals.end() && lower->first == nId - 1) { // add nId by replacing lower with new merged entry - rFreeIntervals.insert(::std::make_pair(nId, lower->second)); + rFreeIntervals.insert(std::make_pair(nId, lower->second)); rFreeIntervals.erase(lower); } else // otherwise just add new 1-element interval { - rFreeIntervals.insert(::std::make_pair(nId, nId)); + rFreeIntervals.insert(std::make_pair(nId, nId)); } } // currently it's not checked whether intervals can be merged now |