summaryrefslogtreecommitdiff
path: root/unotest
diff options
context:
space:
mode:
Diffstat (limited to 'unotest')
-rw-r--r--unotest/source/cpp/filters-test.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/unotest/source/cpp/filters-test.cxx b/unotest/source/cpp/filters-test.cxx
index a642c2176678..7adbd9ca4d4d 100644
--- a/unotest/source/cpp/filters-test.cxx
+++ b/unotest/source/cpp/filters-test.cxx
@@ -10,6 +10,7 @@
#include <sal/config.h>
#include <set>
+#include <string_view>
#include <unotest/filters-test.hxx>
#include <osl/file.hxx>
@@ -107,7 +108,7 @@ void FiltersTest::recursiveScan(filterStatus nExpected,
}
OString aRes(
- (bExport ? OStringLiteral("save") : OStringLiteral("load")) + " "
+ OString::Concat(bExport ? std::string_view("save") : std::string_view("load")) + " "
+ OUStringToOString(sURL, osl_getThreadTextEncoding()));
OUString realUrl;