diff options
author | Justin Luth <justin_luth@sil.org> | 2021-12-13 17:42:00 +0200 |
---|---|---|
committer | Justin Luth <jluth@mail.com> | 2021-12-14 11:47:43 +0100 |
commit | fda607397997df511dab3b340ca6f6da42f5c5bd (patch) | |
tree | 4499db5b27dc73b3f9c351c1713d8f4138a7d36b /xmloff/qa/unit | |
parent | 2b035eb5ba1f9600ea19937519cbc9068c31263b (diff) |
tdf#62032 xmloff: list-level is positiveInteger, impl is 0-based
Thanks for catching this Regina.
Change-Id: Iaf6a0c9161378934818e392126a4437e55f5ddf8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126743
Reviewed-by: Justin Luth <jluth@mail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
(cherry picked from commit aed4c2d80c2f11b82631c097ed0b15a5cb52283d)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126812
Diffstat (limited to 'xmloff/qa/unit')
-rw-r--r-- | xmloff/qa/unit/text.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/qa/unit/text.cxx b/xmloff/qa/unit/text.cxx index 78ebaf75e1bc..9ac9ac93dbc4 100644 --- a/xmloff/qa/unit/text.cxx +++ b/xmloff/qa/unit/text.cxx @@ -191,7 +191,7 @@ CPPUNIT_TEST_FIXTURE(XmloffStyleTest, testParaStyleListLevel) uno::Reference<beans::XPropertySet> xStyle(xStyleFamily->getByName("mystyle"), uno::UNO_QUERY); sal_Int16 nNumberingLevel{}; CPPUNIT_ASSERT(xStyle->getPropertyValue("NumberingLevel") >>= nNumberingLevel); - CPPUNIT_ASSERT_EQUAL(static_cast<sal_Int16>(2), nNumberingLevel); + CPPUNIT_ASSERT_EQUAL(static_cast<sal_Int16>(1), nNumberingLevel); // Test the export as well: |