Kaydet (Commit) fa62671b authored tarafından Michael Stahl's avatar Michael Stahl Kaydeden (comit) Andras Timar

qadevOOo: fix _XDataPilotTables failure in non-english locales

Set the UILocale to en but do that with a registrymodifications.xcu as
setting it via configmgr requires a restart.

Change-Id: I26d9f6aa07852a7f18e2b3b7baccdb2e85524ea4
(cherry picked from commit 32b6002d)
üst 0574d245
<?xml version="1.0" encoding="UTF-8"?>
<!-- Force EN Calc function names and UI so "Filter" match also
when building with non-en system locales -->
<oor:items xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<item oor:path="/org.openoffice.Office.Calc/Formula/Syntax"><prop oor:name="EnglishFunctionName" oor:op="fuse"><value>true</value></prop></item>
<item oor:path="/org.openoffice.Setup/L10N"><prop oor:name="ooSetupSystemLocale" oor:op="fuse"><value>en-US</value></prop></item>
<item oor:path="/org.openoffice.Setup/L10N"><prop oor:name="ooLocale" oor:op="fuse"><value>en</value></prop></item>
<item oor:path="/org.openoffice.Office.Linguistic/General"><prop oor:name="UILocale" oor:op="fuse"><value>en-US</value></prop></item>
</oor:items>
...@@ -35,7 +35,8 @@ $(call gb_JunitTest_get_target,%) : ...@@ -35,7 +35,8 @@ $(call gb_JunitTest_get_target,%) :
$(call gb_Output_announce,$*,$(true),JUT,2) $(call gb_Output_announce,$*,$(true),JUT,2)
$(call gb_Helper_abbreviate_dirs,\ $(call gb_Helper_abbreviate_dirs,\
rm -rf $(call gb_JunitTest_get_userdir,$*) && \ rm -rf $(call gb_JunitTest_get_userdir,$*) && \
mkdir -p $(call gb_JunitTest_get_userdir,$*) && \ mkdir -p $(call gb_JunitTest_get_userdir,$*)/user && \
cp $(SRCDIR)/qadevOOo/qa/registrymodifications.xcu $(call gb_JunitTest_get_userdir,$*)/user/ && \
($(gb_JunitTest_JAVACOMMAND) \ ($(gb_JunitTest_JAVACOMMAND) \
-classpath "$(T_CP)" \ -classpath "$(T_CP)" \
$(DEFS) \ $(DEFS) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment