diff options
author | László Németh <nemeth@numbertext.org> | 2020-06-17 21:35:39 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2020-06-18 11:17:08 +0200 |
commit | 41f926e7a8adf92e73a810227e049ec83ab104bf (patch) | |
tree | 570f4a9aa85a281d931d523da218118c72545a35 /sw | |
parent | 241d8e47e708e1912e036f1026f1c43ee1bf84a1 (diff) |
tdf#133589 Numbertext: fix Hung encoding on Windows
Workaround to fix non-BMP Unicode characters in
the case of Hung (Old Hungarian) module, resulted by
std::wstring limitation on Windows.
Change-Id: I4f6a72ad0e3d4f70ef7e35910bb4147aedb0e4ae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96562
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/uiwriter/uiwriter.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx index 6851037952fc..1fff27fff064 100644 --- a/sw/qa/extras/uiwriter/uiwriter.cxx +++ b/sw/qa/extras/uiwriter/uiwriter.cxx @@ -7275,7 +7275,6 @@ void SwUiWriterTest::testTdf128860() void SwUiWriterTest::testTdf133589() { -#if !defined(_WIN32) // Hungarian test document with right-to-left paragraph setting SwDoc* pDoc = createDoc("tdf133589.fodt"); SwWrtShell* pWrtShell = pDoc->GetDocShell()->GetWrtShell(); @@ -7307,7 +7306,6 @@ void SwUiWriterTest::testTdf133589() nIndex = pWrtShell->GetCursor()->GetNode().GetIndex(); sReplaced += u"𐳺𐳺𐳿𐳼𐳼 "; CPPUNIT_ASSERT_EQUAL(sReplaced, static_cast<SwTextNode*>(pDoc->GetNodes()[nIndex])->GetText()); -#endif } #if HAVE_FEATURE_PDFIUM |