summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-12-06 09:10:09 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-12-06 10:37:50 +0100
commit1a715d4d67ca398d59a8f7e8b41bdfeeabdd4b74 (patch)
tree3423b1e81559c30221113e1e194906f291fcb3d4 /svx
parente68610de1c6b51527317112e0222a8a6d228fe26 (diff)
Get rid of DECLARE_STL_STDKEY_MAP
Change-Id: I099f94922acba0bf9cde22fbbb3eefc230776868
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/fmundo.cxx7
1 files changed, 3 insertions, 4 deletions
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 <osl/mutex.hxx>
#include <comphelper/property.hxx>
#include <comphelper/uno3.hxx>
-#include <comphelper/stl_types.hxx>
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<Reference< XPropertySet >, PropertySetInfo> PropertySetInfoCache;
//------------------------------------------------------------------------------
@@ -530,7 +529,7 @@ void SAL_CALL FmXUndoEnvironment::disposing(const EventObject& e) throw( Runtime
if (xSourceSet.is())
{
PropertySetInfoCache* pCache = static_cast<PropertySetInfoCache*>(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<PropertySetInfoCache*>(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;