It performs better to use unordered_map than std::map here.
Change-Id: I5b89ac2dfbe348f0bf0b07880ccddc734b6d14ab
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user