summaryrefslogtreecommitdiff
path: root/svx/source/fmcomp
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-12-06 10:17:37 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-12-06 10:37:50 +0100
commitc78f7d85ab72a447cabbeebcc76706b796c7308a (patch)
tree76bc731ae0268960e2bf95a06476fa516f7b78e1 /svx/source/fmcomp
parent1a715d4d67ca398d59a8f7e8b41bdfeeabdd4b74 (diff)
Get rid of DECLARE_STL_MAP
Change-Id: Ifbda934a89087fcc1c031978d3e5b5783722b328
Diffstat (limited to 'svx/source/fmcomp')
-rw-r--r--svx/source/fmcomp/gridctrl.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx
index ef267c0d25b9..957d7b478028 100644
--- a/svx/source/fmcomp/gridctrl.cxx
+++ b/svx/source/fmcomp/gridctrl.cxx
@@ -53,10 +53,10 @@
#include "fmservs.hxx"
#include "sdbdatacolumn.hxx"
-#include <comphelper/stl_types.hxx>
#include <comphelper/property.hxx>
#include <algorithm>
+#include <map>
using namespace ::svxform;
using namespace ::svt;
@@ -117,7 +117,7 @@ private:
};
class GridFieldValueListener;
-DECLARE_STL_MAP(sal_uInt16, GridFieldValueListener*, ::std::less<sal_uInt16>, ColumnFieldValueListeners);
+typedef std::map<sal_uInt16, GridFieldValueListener*> ColumnFieldValueListeners;
DBG_NAME(GridFieldValueListener)
class GridFieldValueListener : protected ::comphelper::OPropertyChangeListener
@@ -3464,7 +3464,7 @@ void DbGridControl::BeginCursorAction()
if (m_pFieldListeners)
{
ColumnFieldValueListeners* pListeners = (ColumnFieldValueListeners*)m_pFieldListeners;
- ConstColumnFieldValueListenersIterator aIter = pListeners->begin();
+ ColumnFieldValueListeners::const_iterator aIter = pListeners->begin();
while (aIter != pListeners->end())
{
GridFieldValueListener* pCurrent = (*aIter).second;
@@ -3483,7 +3483,7 @@ void DbGridControl::EndCursorAction()
if (m_pFieldListeners)
{
ColumnFieldValueListeners* pListeners = (ColumnFieldValueListeners*)m_pFieldListeners;
- ConstColumnFieldValueListenersIterator aIter = pListeners->begin();
+ ColumnFieldValueListeners::const_iterator aIter = pListeners->begin();
while (aIter != pListeners->end())
{
GridFieldValueListener* pCurrent = (*aIter).second;
@@ -3590,7 +3590,7 @@ void DbGridControl::FieldListenerDisposing(sal_uInt16 _nId)
return;
}
- ColumnFieldValueListenersIterator aPos = pListeners->find(_nId);
+ ColumnFieldValueListeners::iterator aPos = pListeners->find(_nId);
if (aPos == pListeners->end())
{
OSL_FAIL("DbGridControl::FieldListenerDisposing : invalid call (did not find the listener) !");