map->unordered_map in PropertyMapper
a little bit faster Change-Id: I11e756e65a76fedeca2525edf37a04b34ac6aeda Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126407 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
committed by
Noel Grandin
parent
fb14f0af6a
commit
04e3424f49
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
#include <sal/config.h>
|
#include <sal/config.h>
|
||||||
|
|
||||||
#include <map>
|
#include <unordered_map>
|
||||||
|
|
||||||
#include <com/sun/star/uno/Sequence.h>
|
#include <com/sun/star/uno/Sequence.h>
|
||||||
#include <com/sun/star/uno/Reference.h>
|
#include <com/sun/star/uno/Reference.h>
|
||||||
@@ -30,8 +30,8 @@ namespace com::sun::star::beans { class XPropertySet; }
|
|||||||
namespace chart
|
namespace chart
|
||||||
{
|
{
|
||||||
|
|
||||||
typedef std::map< OUString, OUString > tPropertyNameMap;
|
typedef std::unordered_map<OUString, OUString> tPropertyNameMap;
|
||||||
typedef std::map< OUString, css::uno::Any > tPropertyNameValueMap;
|
typedef std::unordered_map<OUString, css::uno::Any> tPropertyNameValueMap;
|
||||||
typedef css::uno::Sequence< OUString > tNameSequence;
|
typedef css::uno::Sequence< OUString > tNameSequence;
|
||||||
typedef css::uno::Sequence< css::uno::Any > tAnySequence;
|
typedef css::uno::Sequence< css::uno::Any > tAnySequence;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user