android hunspell: Hardcode the ReferenceOOoMajorMinor for version check.
From some reason it fails to be read from the versionrc; and I'm not really eager to debug why... Without this, only the dictionaries that do not mention the OpenOffice.org-minimal-version are registered; which would be just 2 of them. Change-Id: I9fe0bc138eadbdcbe5e0d8231e7e90ef268163bc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88219 Tested-by: Jan Holesovsky <kendy@collabora.com> Reviewed-by: Jan Holesovsky <kendy@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88366 Tested-by: Jenkins
This commit is contained in:
parent
99e143cb77
commit
cc0759f1e2
1 changed files with 5 additions and 0 deletions
|
@ -59,10 +59,15 @@ OUString getLibreOfficeMajorMinorMicro() {
|
|||
}
|
||||
|
||||
OUString getReferenceOpenOfficeOrgMajorMinor() {
|
||||
#ifdef ANDROID
|
||||
// just hardcode the version
|
||||
OUString v("4.1");
|
||||
#else
|
||||
OUString v(
|
||||
"${$BRAND_BASE_DIR/" LIBO_ETC_FOLDER "/" SAL_CONFIGFILE("version")
|
||||
":Version:ReferenceOOoMajorMinor}");
|
||||
rtl::Bootstrap::expandMacros(v); //TODO: check for failure
|
||||
#endif
|
||||
return v;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue