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 <map>
|
||||||
#include "charttoolsdllapi.hxx"
|
#include "charttoolsdllapi.hxx"
|
||||||
|
|
||||||
|
#include <boost/unordered_map.hpp>
|
||||||
|
|
||||||
namespace chart
|
namespace chart
|
||||||
{
|
{
|
||||||
|
|
||||||
typedef int tPropertyValueMapKey;
|
typedef int tPropertyValueMapKey;
|
||||||
|
|
||||||
typedef ::std::map< tPropertyValueMapKey, ::com::sun::star::uno::Any >
|
typedef boost::unordered_map<tPropertyValueMapKey, com::sun::star::uno::Any> tPropertyValueMap;
|
||||||
tPropertyValueMap;
|
|
||||||
|
|
||||||
namespace PropertyHelper
|
namespace PropertyHelper
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user