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 /sw/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 'sw/qa')
-rw-r--r-- | sw/qa/extras/uiwriter/uiwriter.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx index d7b01b9bbb96..6851037952fc 100644 --- a/sw/qa/extras/uiwriter/uiwriter.cxx +++ b/sw/qa/extras/uiwriter/uiwriter.cxx @@ -46,7 +46,6 @@ #include <AnnotationWin.hxx> #include <com/sun/star/text/XDefaultNumberingProvider.hpp> #include <com/sun/star/awt/FontUnderline.hpp> -#include <config_libnumbertext.h> #include <svx/svdpage.hxx> #include <svx/svdview.hxx> @@ -371,9 +370,7 @@ public: void testTdf59666(); void testTdf133524(); void testTdf128860(); -#if ENABLE_LIBNUMBERTEXT void testTdf133589(); -#endif void testInconsistentBookmark(); #if HAVE_FEATURE_PDFIUM void testInsertPdf(); @@ -590,9 +587,7 @@ public: CPPUNIT_TEST(testTdf59666); CPPUNIT_TEST(testTdf133524); CPPUNIT_TEST(testTdf128860); -#if ENABLE_LIBNUMBERTEXT CPPUNIT_TEST(testTdf133589); -#endif #if HAVE_FEATURE_PDFIUM CPPUNIT_TEST(testInsertPdf); #endif @@ -7278,7 +7273,6 @@ void SwUiWriterTest::testTdf128860() CPPUNIT_ASSERT_EQUAL(sReplaced, static_cast<SwTextNode*>(pDoc->GetNodes()[nIndex])->GetText()); } -#if ENABLE_LIBNUMBERTEXT void SwUiWriterTest::testTdf133589() { #if !defined(_WIN32) @@ -7315,7 +7309,6 @@ void SwUiWriterTest::testTdf133589() CPPUNIT_ASSERT_EQUAL(sReplaced, static_cast<SwTextNode*>(pDoc->GetNodes()[nIndex])->GetText()); #endif } -#endif #if HAVE_FEATURE_PDFIUM void SwUiWriterTest::testInsertPdf() |