sw/qa/extras/odfexport/odfexport.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 03ad8bdc2a2d9f85aaeff692c9e89d8a66fa3e9b
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Thu Apr 13 18:24:52 2023 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Thu Apr 13 22:38:27 2023 +0200

    -Werror,-Wunused-variable
    
    Unused ever since it got introduced in 
e11c51eefe8c3210cef2b5850f401ba67a401d01
    "tdf#95806 tdf#125877 tdf#141172 DOCX: fix tables in footnotes".
    
    (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: I00585e7aae5c869ccd32d8edfc319f027050e6b7
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150366
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/sw/qa/extras/odfexport/odfexport.cxx 
b/sw/qa/extras/odfexport/odfexport.cxx
index 8f6a170706d9..c909e8feaff5 100644
--- a/sw/qa/extras/odfexport/odfexport.cxx
+++ b/sw/qa/extras/odfexport/odfexport.cxx
@@ -279,7 +279,6 @@ CPPUNIT_TEST_FIXTURE(Test, testTdf125877)
     CPPUNIT_ASSERT_EQUAL(1, getPages());
     uno::Reference<text::XTextTablesSupplier> xSupplier(mxComponent, 
uno::UNO_QUERY);
     uno::Reference<container::XIndexAccess> 
xTables(xSupplier->getTextTables(), uno::UNO_QUERY);
-    uno::Reference<text::XTextTablesSupplier> xTextTablesSupplier(mxComponent, 
uno::UNO_QUERY);
 
     // This was 0 (lost table during ODT export in footnotes)
     // Note: fix also tdf#95806: painting table layout is correct

Reply via email to