diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-04-17 08:14:33 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-04-17 15:03:43 +0200 |
commit | 8978d12cbc475fa4c94a9a6b65d2e3f7219eb227 (patch) | |
tree | 2077a34b2700fd70b81a5be0546f3aab15889387 /sw/qa/extras/uiwriter/uiwriter6.cxx | |
parent | d88b2ec74c35cbf6adcd7bcd80243685a5a02344 (diff) |
-Werror,-Wunused-variable
Unused ever since it got introduced in 9a62e50d72bdcc786df4ea6094b349d1b3215b56
"tdf#154771 sw: fix drag & drop moving of table columns".
(Found with an experimental Clang build supporting __attribute__((warn_unused))
on individual ctors rather than just whole class types, and the corresponding
css::uno::Reference ctor marked accordingly.)
Change-Id: Ibd17de455af63211699e493de991f3a01e40f16f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150466
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/qa/extras/uiwriter/uiwriter6.cxx')
-rw-r--r-- | sw/qa/extras/uiwriter/uiwriter6.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter6.cxx b/sw/qa/extras/uiwriter/uiwriter6.cxx index 836dfeb26abc..7e2ddb31d1c6 100644 --- a/sw/qa/extras/uiwriter/uiwriter6.cxx +++ b/sw/qa/extras/uiwriter/uiwriter6.cxx @@ -992,8 +992,6 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest6, testTdf154771_MovingMultipleColumns) (void)&pWrtShell->InsertTable(TableOpt, 5, 4); uno::Reference<text::XTextTablesSupplier> xTablesSupplier(mxComponent, uno::UNO_QUERY); - uno::Reference<container::XIndexAccess> xTables(xTablesSupplier->getTextTables(), - uno::UNO_QUERY); uno::Reference<container::XNameAccess> xTableNames = xTablesSupplier->getTextTables(); CPPUNIT_ASSERT(xTableNames->hasByName("Table1")); uno::Reference<text::XTextTable> xTable1(xTableNames->getByName("Table1"), uno::UNO_QUERY); |