summaryrefslogtreecommitdiff
path: root/chart2/qa/extras/chart2geometry.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/qa/extras/chart2geometry.cxx')
-rw-r--r--chart2/qa/extras/chart2geometry.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/chart2/qa/extras/chart2geometry.cxx b/chart2/qa/extras/chart2geometry.cxx
index 6ded1a5e76ab..c15f15f66864 100644
--- a/chart2/qa/extras/chart2geometry.cxx
+++ b/chart2/qa/extras/chart2geometry.cxx
@@ -23,6 +23,7 @@
#include <libxml/xpathInternals.h>
#include <algorithm>
+#include <string_view>
using uno::Reference;
using beans::XPropertySet;
@@ -170,7 +171,7 @@ void Chart2GeometryTest::registerNamespaces(xmlXPathContextPtr& pXmlXPathCtx)
}
}
-static OString OU2O(const OUString& sOUSource)
+static OString OU2O(std::u16string_view sOUSource)
{
return rtl::OUStringToOString(sOUSource, RTL_TEXTENCODING_UTF8);
}