diff options
author | Noel <noel.grandin@collabora.co.uk> | 2020-12-18 20:23:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-12-19 08:02:56 +0100 |
commit | 27d585cd2d0a0157896c4af11f2463f0197e3eb2 (patch) | |
tree | 8e794b30d03a986aa18f999e568efcd57616c451 /include/editeng | |
parent | dfd69eb0ce4d1bb0442d65be2fcd8741fe9cb6ef (diff) |
use more string_view in SfxItemPropertyMap
Change-Id: I053dedcbf0b110a61752722d247d6ee5e9ba481d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107977
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/unoipset.hxx | 2 | ||||
-rw-r--r-- | include/editeng/unotext.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/editeng/unoipset.hxx b/include/editeng/unoipset.hxx index c05ff656ee9c..0a4d8c2fe3ad 100644 --- a/include/editeng/unoipset.hxx +++ b/include/editeng/unoipset.hxx @@ -59,7 +59,7 @@ public: css::uno::Reference< css::beans::XPropertySetInfo > const & getPropertySetInfo() const; const SfxItemPropertyMap& getPropertyMap() const { return m_aPropertyMap;} - const SfxItemPropertySimpleEntry* getPropertyMapEntry(const OUString &rName) const; + const SfxItemPropertySimpleEntry* getPropertyMapEntry(std::u16string_view rName) const; }; /** converts the given any with a metric to 100th/mm if needed */ diff --git a/include/editeng/unotext.hxx b/include/editeng/unotext.hxx index 86841fbb0d56..a07a8cf059e1 100644 --- a/include/editeng/unotext.hxx +++ b/include/editeng/unotext.hxx @@ -274,7 +274,7 @@ protected: css::beans::PropertyState _getPropertyState( const SfxItemPropertySimpleEntry* pMap, sal_Int32 nPara = -1 ); /// @throws css::beans::UnknownPropertyException /// @throws css::uno::RuntimeException - css::beans::PropertyState _getPropertyState( const OUString& PropertyName, sal_Int32 nPara = -1 ); + css::beans::PropertyState _getPropertyState( std::u16string_view PropertyName, sal_Int32 nPara = -1 ); /// @throws css::beans::UnknownPropertyException /// @throws css::uno::RuntimeException css::uno::Sequence< css::beans::PropertyState > _getPropertyStates( const css::uno::Sequence< OUString >& aPropertyName, sal_Int32 nPara = -1 ); |