diff options
author | Tor Lillqvist <tml@collabora.com> | 2020-06-11 14:02:57 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2020-06-11 16:23:52 +0200 |
commit | c392ecfa734731194c366e869a3c2475c53dc867 (patch) | |
tree | 852813ca2e485335b53ff3f1ca3bf3202de8496d /svl/qa | |
parent | f62f200f31ac20c4e28a1e6fbead512d55bdf04f (diff) |
Drop configurability of libnumbertext use
It was fairly pointless to be able to --disable-libnumbertext.
Besides, disabling it broke the ordinal page (etc) numbering feature:
"1st", "2nd", "3rd", etc showed up as "Ordinal-number 1",
"Ordinal-number 2", "Ordinal-number 3" etc.
Change-Id: I645169054a8fdc8dac89cd48b6c369fd61749467
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96119
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'svl/qa')
-rw-r--r-- | svl/qa/unit/svl.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx index 8362c9fbc88b..194dc550c278 100644 --- a/svl/qa/unit/svl.cxx +++ b/svl/qa/unit/svl.cxx @@ -8,7 +8,6 @@ */ #include <sal/types.h> -#include <config_libnumbertext.h> #include <cppunit/TestAssert.h> #include <cppunit/TestFixture.h> #include <cppunit/extensions/HelperMacros.h> @@ -1415,7 +1414,6 @@ void Test::testUserDefinedNumberFormats() checkPreviewString(aFormatter, sCode, 120, eLang, sExpected); sCode = "[DBNum2][$-0404]General\\ "; checkPreviewString(aFormatter, sCode, 120, eLang, sExpected); -#if ENABLE_LIBNUMBERTEXT // tdf#115007 - cardinal/ordinal number names/indicators sCode = "[NatNum12]0"; sExpected = "one hundred twenty-three"; @@ -1447,7 +1445,6 @@ void Test::testUserDefinedNumberFormats() sCode = "[NatNum12 YYYY=title year, D=capitalize ordinal]D\" of \"MMMM\", \"YYYY"; sExpected = "Second of January, Nineteen Hundred"; checkPreviewString(aFormatter, sCode, M_PI, eLang, sExpected); -#endif } { // tdf#130193 tdf#130140 Native Number Formats mapping for Chinese (Traditional), Japanese, Korean // -- Traditional Chinese: DBNum1 -> NatNum4, DBNum2 -> NatNum5, DBnum3 -> NatNum3 |