diff options
Diffstat (limited to 'o3tl/qa/test-string_view.cxx')
-rw-r--r-- | o3tl/qa/test-string_view.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/o3tl/qa/test-string_view.cxx b/o3tl/qa/test-string_view.cxx index a95afc923c2c..6569d9267705 100644 --- a/o3tl/qa/test-string_view.cxx +++ b/o3tl/qa/test-string_view.cxx @@ -27,7 +27,7 @@ template <> inline std::string CppUnit::assertion_traits<std::u16string_view>::toString(std::u16string_view const& x) { - return OUStringToOString(x, RTL_TEXTENCODING_UTF8).getStr(); + return std::string(OUStringToOString(x, RTL_TEXTENCODING_UTF8)); } namespace |