summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-11-19 15:15:52 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-11-19 15:15:52 +0100
commit221caface804a0db8773bc77f0ffbed073f69d6b (patch)
treec5dd4a61119c2ad6846acbf6488b082d886c190b
parent7f31a2a7fa5a0ec1d6e36161b95a26bbb96d5cd2 (diff)
More adapting to C++2a char8_t
...in test code that is unhelpfully excluded on macOS, so wasn't covered by c89a4996b82881988eb9cc1eeaf24e0d8f9e6dce "Adapt to C++2a char_t" which I happened to do on macOS. Change-Id: I215898a1c468c576d88914ee22deaaaa536d91e9
-rw-r--r--sw/qa/extras/odfexport/odfexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/extras/odfexport/odfexport.cxx b/sw/qa/extras/odfexport/odfexport.cxx
index 3527541a0177..2ef4e2cd4400 100644
--- a/sw/qa/extras/odfexport/odfexport.cxx
+++ b/sw/qa/extras/odfexport/odfexport.cxx
@@ -1950,7 +1950,7 @@ DECLARE_ODFEXPORT_TEST(testReferenceLanguage, "referencelanguage.odt")
// (used from LibreOffice 6.1, and proposed for next ODF)
const char* aFieldTexts[] = { "A 2", "Az 50-esek",
"A 2018-asok", "Az egyebek", "A fejezetek",
- u8"Az „Őseinket...”", "a 2",
+ reinterpret_cast<char const *>(u8"Az „Őseinket...”"), "a 2",
"Az v", "az 1", "Az e", "az 1",
"Az (5)", "az 1", "A 2", "az 1" };
uno::Reference<text::XTextFieldsSupplier> xTextFieldsSupplier(mxComponent, uno::UNO_QUERY);