diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-04-21 13:59:07 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-04-22 13:28:35 +0200 |
commit | 25ada1e520b50247aa27fdbb6f1ab35e678c7ef9 (patch) | |
tree | 84273aee328c778cfbd166d52d4e1a9fefeb4bf9 /cppuhelper/source/typemanager.hxx | |
parent | address review comments on "use more string in unoidl.." (diff) | |
download | core-25ada1e520b50247aa27fdbb6f1ab35e678c7ef9.tar.gz core-25ada1e520b50247aa27fdbb6f1ab35e678c7ef9.zip |
use more string_view in cppuhelper
Change-Id: I846a1201b1b4fb8ca694a0b78b7d4cc2973dfbd2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133258
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppuhelper/source/typemanager.hxx')
-rw-r--r-- | cppuhelper/source/typemanager.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cppuhelper/source/typemanager.hxx b/cppuhelper/source/typemanager.hxx index 28c193191267..1a795fe22f8e 100644 --- a/cppuhelper/source/typemanager.hxx +++ b/cppuhelper/source/typemanager.hxx @@ -90,9 +90,9 @@ private: css::uno::Sequence< css::uno::TypeClass > const & types, css::reflection::TypeDescriptionSearchDepth depth) override; - void readRdbDirectory(OUString const & uri, bool optional); + void readRdbDirectory(std::u16string_view uri, bool optional); - void readRdbFile(OUString const & uri, bool optional); + void readRdbFile(std::u16string_view uri, bool optional); css::uno::Any getSequenceType(OUString const & name); @@ -108,12 +108,12 @@ private: static css::uno::Any getEnumMember( rtl::Reference< unoidl::EnumTypeEntity > const & entity, - OUString const & member); + std::u16string_view member); static css::uno::Any getConstant( - OUString const & constantGroupName, + std::u16string_view constantGroupName, rtl::Reference< unoidl::ConstantGroupEntity > const & entity, - OUString const & member); + std::u16string_view member); rtl::Reference< unoidl::Entity > findEntity(OUString const & name); |