diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-12-05 22:41:15 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-12-06 08:04:22 +0100 |
commit | 4a8175ebeb58555e5d48df134cfaf128293888f1 (patch) | |
tree | 316963d1842bcf5ea16f489dc1c6d076fe9bb3c9 /svx | |
parent | 0b5e5783d8b15b0415c9fd5043932882904aece8 (diff) |
Get rid of DECLARE_STL_USTRINGACCESS_MAP
Change-Id: I00d02eaeff3eaa5f49550eb9c1d4e4e7e0b2203c
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/form/fmundo.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/svx/source/form/fmundo.cxx b/svx/source/form/fmundo.cxx index 313757217c61..3d7a94441fc2 100644 --- a/svx/source/form/fmundo.cxx +++ b/svx/source/form/fmundo.cxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> + +#include <map> #include <sal/macros.h> #include "fmundo.hxx" @@ -151,7 +154,7 @@ struct PropertyInfo struct PropertySetInfo { - DECLARE_STL_USTRINGACCESS_MAP(PropertyInfo, AllProperties); + typedef std::map<OUString, PropertyInfo> AllProperties; AllProperties aProps; // all properties of this set which we know so far sal_Bool bHasEmptyControlSource; // sal_True -> the set has a DataField property, and the current value is an empty string @@ -622,7 +625,7 @@ void SAL_CALL FmXUndoEnvironment::propertyChange(const PropertyChangeEvent& evt) // now we have access to the cached info about the set // let's see what we know about the property PropertySetInfo::AllProperties& rPropInfos = aSetPos->second.aProps; - PropertySetInfo::AllPropertiesIterator aPropertyPos = rPropInfos.find(evt.PropertyName); + PropertySetInfo::AllProperties::iterator aPropertyPos = rPropInfos.find(evt.PropertyName); if (aPropertyPos == rPropInfos.end()) { // nothing 'til now ... have to change this .... PropertyInfo aNewEntry; |