summaryrefslogtreecommitdiff
path: root/include/codemaker
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-04-29 09:30:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-04-29 11:12:54 +0200
commitfa88fd0fc8434a4a6077dd80afcd47464669d907 (patch)
treeeb50d71c22f0646fb717afa06c3ebe5810d262e5 /include/codemaker
parent3240820acaa2f87e4917d1fa387255c2101460a2 (diff)
Revert "use more string_view in codemaker"
This reverts commit 9463550eabd0455c374c1369bc72388108baccad. Reason for revert: The codemaker::UnoType::decompose was previously mostly returning the same OString it receives, so this change is likely a pessimisation Change-Id: Ie1b41889d0a6af9247b8683075d4edd1163fecc8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133492 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, 1 insertions, 2 deletions
diff --git a/include/codemaker/unotype.hxx b/include/codemaker/unotype.hxx
index 38c66f6441b8..606321873242 100644
--- a/include/codemaker/unotype.hxx
+++ b/include/codemaker/unotype.hxx
@@ -22,7 +22,6 @@
#include <sal/types.h>
-#include <string_view>
#include <vector>
namespace rtl { class OString; }
@@ -79,7 +78,7 @@ namespace codemaker::UnoType {
@return the base part of the given type
*/
rtl::OString decompose(
- std::string_view type, sal_Int32 * rank = nullptr,
+ rtl::OString const & type, sal_Int32 * rank = nullptr,
std::vector< rtl::OString > * arguments = nullptr);
}