[Libreoffice-commits] core.git: Branch 'feature/chart-opengl2' - chart2/source
Kohei Yoshida
kohei.yoshida at collabora.com
Thu Jan 2 09:39:14 PST 2014
chart2/source/inc/PropertyHelper.hxx | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit 41b43da7316b36f2ca202e36045ffebaae92fced
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date: Thu Jan 2 12:37:00 2014 -0500
It performs better to use unordered_map than std::map here.
Change-Id: I5b89ac2dfbe348f0bf0b07880ccddc734b6d14ab
diff --git a/chart2/source/inc/PropertyHelper.hxx b/chart2/source/inc/PropertyHelper.hxx
index 78fb607..be066ca 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
{
More information about the Libreoffice-commits
mailing list