summaryrefslogtreecommitdiff
path: root/include/codemaker
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-04-27 14:26:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-04-27 16:45:41 +0200
commit9463550eabd0455c374c1369bc72388108baccad (patch)
treea2df208a79aec4b4d7cbdff185a3bcfaa952c07e /include/codemaker
parenta3e540304269772595439de22b54269011721bb2 (diff)
use more string_view in codemaker
Change-Id: If311f5600bd61387cc709065978306c21360dea8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133509 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/codemaker')
-rw-r--r--include/codemaker/unotype.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/codemaker/unotype.hxx b/include/codemaker/unotype.hxx
index 606321873242..38c66f6441b8 100644
--- a/include/codemaker/unotype.hxx
+++ b/include/codemaker/unotype.hxx
@@ -22,6 +22,7 @@
#include <sal/types.h>
+#include <string_view>
#include <vector>
namespace rtl { class OString; }
@@ -78,7 +79,7 @@ namespace codemaker::UnoType {
@return the base part of the given type
*/
rtl::OString decompose(
- rtl::OString const & type, sal_Int32 * rank = nullptr,
+ std::string_view type, sal_Int32 * rank = nullptr,
std::vector< rtl::OString > * arguments = nullptr);
}