diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-01-02 12:37:00 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-01-02 12:39:17 -0500 |
commit | 0f13f675ed98b32cbd0a0976939334b44b97b439 (patch) | |
tree | a39ca55511f3b0add0c09d9bf346ce2763dcac93 | |
parent | 49e6016d4ecd531d279fb644d129c983e65dc3b8 (diff) |
It performs better to use unordered_map than std::map here.
Change-Id: I5b89ac2dfbe348f0bf0b07880ccddc734b6d14ab
-rw-r--r-- | chart2/source/inc/PropertyHelper.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chart2/source/inc/PropertyHelper.hxx b/chart2/source/inc/PropertyHelper.hxx index 78fb607807c0..be066ca04603 100644 --- a/chart2/source/inc/PropertyHelper.hxx +++ b/chart2/source/inc/PropertyHelper.hxx @@ -28,13 +28,14 @@ #include <map> #include "charttoolsdllapi.hxx" +#include <boost/unordered_map.hpp> + namespace chart { typedef int tPropertyValueMapKey; -typedef ::std::map< tPropertyValueMapKey, ::com::sun::star::uno::Any > - tPropertyValueMap; +typedef boost::unordered_map<tPropertyValueMapKey, com::sun::star::uno::Any> tPropertyValueMap; namespace PropertyHelper { |