From 1a715d4d67ca398d59a8f7e8b41bdfeeabdd4b74 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 6 Dec 2013 09:10:09 +0100 Subject: Get rid of DECLARE_STL_STDKEY_MAP Change-Id: I099f94922acba0bf9cde22fbbb3eefc230776868 --- svx/source/form/fmundo.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'svx') diff --git a/svx/source/form/fmundo.cxx b/svx/source/form/fmundo.cxx index 3d7a94441fc2..e0cbe0a1cb7b 100644 --- a/svx/source/form/fmundo.cxx +++ b/svx/source/form/fmundo.cxx @@ -55,7 +55,6 @@ #include #include #include -#include using namespace ::com::sun::star::uno; using namespace ::com::sun::star::awt; @@ -167,7 +166,7 @@ sal_Bool operator < (const Reference< XPropertySet >& lhs, return lhs.get() < rhs.get(); } -DECLARE_STL_STDKEY_MAP(Reference< XPropertySet >, PropertySetInfo, PropertySetInfoCache); +typedef std::map, PropertySetInfo> PropertySetInfoCache; //------------------------------------------------------------------------------ @@ -530,7 +529,7 @@ void SAL_CALL FmXUndoEnvironment::disposing(const EventObject& e) throw( Runtime if (xSourceSet.is()) { PropertySetInfoCache* pCache = static_cast(m_pPropertySetCache); - PropertySetInfoCacheIterator aSetPos = pCache->find(xSourceSet); + PropertySetInfoCache::iterator aSetPos = pCache->find(xSourceSet); if (aSetPos != pCache->end()) pCache->erase(aSetPos); } @@ -591,7 +590,7 @@ void SAL_CALL FmXUndoEnvironment::propertyChange(const PropertyChangeEvent& evt) PropertySetInfoCache* pCache = static_cast(m_pPropertySetCache); // let's see if we know something about the set - PropertySetInfoCacheIterator aSetPos = pCache->find(xSet); + PropertySetInfoCache::iterator aSetPos = pCache->find(xSet); if (aSetPos == pCache->end()) { PropertySetInfo aNewEntry; -- cgit