summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/misc/wincodepage.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/unotools/source/misc/wincodepage.cxx b/unotools/source/misc/wincodepage.cxx
index da7e584aed71..a5ba6d428a7d 100644
--- a/unotools/source/misc/wincodepage.cxx
+++ b/unotools/source/misc/wincodepage.cxx
@@ -7,6 +7,10 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
+#include <sal/config.h>
+
+#include <string_view>
+
#include <unotools/wincodepage.hxx>
#include <rtl/string.h>
#include <rtl/textenc.h>
@@ -15,7 +19,7 @@ namespace{
struct LangEncodingDef
{
- const OUStringLiteral msLangStr;
+ const std::u16string_view msLangStr;
rtl_TextEncoding meTextEncoding;
};