summaryrefslogtreecommitdiff
path: root/sw/CppunitTest_sw_layoutwriter.mk
diff options
context:
space:
mode:
authorMark Hung <marklh9@gmail.com>2019-04-28 23:22:20 +0800
committerMark Hung <marklh9@gmail.com>2019-05-10 13:48:39 +0200
commitb67fbe0a163a8bb5bc30eb84ad796dcd24a27145 (patch)
tree8329931ddb8607b7f5379b475bec82c0e9ff05fb /sw/CppunitTest_sw_layoutwriter.mk
parent5ad4e88c0521024bf9d94a6199c5c8f6060fc93b (diff)
sw/qa: recover locale in testUserFieldTypeLanguage.
In testUserFieldTypeLanguage the locale was set to de-DE first then revert by calling SetLocaleConfigString with an empty string when the test finished. Calling SetLocaleConfigString with an empty string set the system locale to the system default, which is not necessarily en-US which is the default for unit tests. Unfortunately it makes testTdf108021 fail because the layouts in the testTdf108021 are different in en-US and zh-TW locale in my environment. This locale-dependent layout issue is tracked as tdf#125025 now. Change-Id: I50ae2df5fb4624f94d070742c6189bf333370137 Reviewed-on: https://gerrit.libreoffice.org/71480 Tested-by: Jenkins Reviewed-by: Mark Hung <marklh9@gmail.com>
Diffstat (limited to 'sw/CppunitTest_sw_layoutwriter.mk')
-rw-r--r--sw/CppunitTest_sw_layoutwriter.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/CppunitTest_sw_layoutwriter.mk b/sw/CppunitTest_sw_layoutwriter.mk
index eb25e0258fd8..aaddcffb4d8a 100644
--- a/sw/CppunitTest_sw_layoutwriter.mk
+++ b/sw/CppunitTest_sw_layoutwriter.mk
@@ -34,6 +34,7 @@ $(eval $(call gb_CppunitTest_use_libraries,sw_layoutwriter, \
vcl \
tl \
utl \
+ i18nlangtag \
))
$(eval $(call gb_CppunitTest_use_externals,sw_layoutwriter,\