sw/qa/core/text/text.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit b93a481d8a7ba396d29224403ca05ebe354aa0b3
Author: Stephan Bergmann <[email protected]>
AuthorDate: Sun Apr 21 18:52:39 2024 +0200
Commit: Stephan Bergmann <[email protected]>
CommitDate: Sun Apr 21 22:05:16 2024 +0200
-Werror,-Wunused-variable
...ever since the code was introduced in
0c7ae3bd96130eaa400d55a3ba9bf1e2fe6600de "tdf#156146 tdf#159903 sw: add unit
tests"
Change-Id: Ib53b98f6f1ce460bda6b06a7b082a28a49f05a28
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166388
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <[email protected]>
diff --git a/sw/qa/core/text/text.cxx b/sw/qa/core/text/text.cxx
index e4e40fd11b9e..b1d89c5260ef 100644
--- a/sw/qa/core/text/text.cxx
+++ b/sw/qa/core/text/text.cxx
@@ -125,7 +125,6 @@ CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testTdf156146)
uno::Reference<container::XIndexAccess> const xLevels1(
getProperty<uno::Reference<container::XIndexAccess>>(getParagraph(1),
"NumberingRules"));
- uno::Reference<container::XNamed> const xNum1(xLevels1, uno::UNO_QUERY);
::comphelper::SequenceAsHashMap props1(xLevels1->getByIndex(0));
CPPUNIT_ASSERT_EQUAL(sal_Int32(-700),
props1["FirstLineIndent"].get<sal_Int32>());
CPPUNIT_ASSERT_EQUAL(sal_Int32(1330), props1["IndentAt"].get<sal_Int32>());
@@ -155,7 +154,6 @@ CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testTdf159903)
uno::Reference<container::XIndexAccess> const xLevels1(
getProperty<uno::Reference<container::XIndexAccess>>(getParagraph(1),
"NumberingRules"));
- uno::Reference<container::XNamed> const xNum1(xLevels1, uno::UNO_QUERY);
::comphelper::SequenceAsHashMap props1(xLevels1->getByIndex(0));
CPPUNIT_ASSERT_EQUAL(sal_Int32(-4001),
props1["FirstLineIndent"].get<sal_Int32>());
CPPUNIT_ASSERT_EQUAL(sal_Int32(4001), props1["IndentAt"].get<sal_Int32>());