diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2023-04-09 20:43:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-04-10 21:51:49 +0200 |
commit | 9ff063eeabc38d9c1fd1a4beb0d0e4112559b0c1 (patch) | |
tree | 0af5e56b4f35fa564f0bb51453278de4337dd8b5 /include | |
parent | f6fa9c455502e9a00e4a4cff6e19f3e17c5479c3 (diff) |
use std::unordered_map for static properties in toolkit
which is faster than binary lookup
Change-Id: Ia810313af36c75fd9b5b241704f0cbd66afcb6b0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150189
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/toolkit/helper/property.hxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/toolkit/helper/property.hxx b/include/toolkit/helper/property.hxx index 92adc587d171..e082433dd364 100644 --- a/include/toolkit/helper/property.hxx +++ b/include/toolkit/helper/property.hxx @@ -238,7 +238,6 @@ TOOLKIT_DLLPUBLIC sal_uInt16 GetPropertyId( const OUString& rPropertyName const css::uno::Type* GetPropertyType( sal_uInt16 nPropertyId ); const OUString& GetPropertyName( sal_uInt16 nPropertyId ); sal_Int16 GetPropertyAttribs( sal_uInt16 nPropertyId ); -sal_uInt16 GetPropertyOrderNr( sal_uInt16 nPropertyId ); bool DoesDependOnOthers( sal_uInt16 nPropertyId ); bool CompareProperties( const css::uno::Any& r1, const css::uno::Any& r2 ); |