summaryrefslogtreecommitdiff
path: root/chart2/qa/extras/xshape/chart2xshape.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/qa/extras/xshape/chart2xshape.cxx')
-rw-r--r--chart2/qa/extras/xshape/chart2xshape.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/chart2/qa/extras/xshape/chart2xshape.cxx b/chart2/qa/extras/xshape/chart2xshape.cxx
index a1a0032effc3..3acb981cb78d 100644
--- a/chart2/qa/extras/xshape/chart2xshape.cxx
+++ b/chart2/qa/extras/xshape/chart2xshape.cxx
@@ -16,6 +16,7 @@
#include <test/xmltesttools.hxx>
#include <fstream>
+#include <string_view>
class Chart2XShapeTest : public ChartTest, public XmlTestTools
{
@@ -49,7 +50,7 @@ private:
namespace
{
-bool checkDumpAgainstFile(const OUString& rDump, const OUString& aFilePath)
+bool checkDumpAgainstFile(const OUString& rDump, std::u16string_view aFilePath)
{
OString aOFile = OUStringToOString(aFilePath, RTL_TEXTENCODING_UTF8);