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

New commits:
commit 8479a49bca0a5a6600285acd93efb38a00cff53a
Author:     Stephan Bergmann <stephan.bergm...@allotropia.de>
AuthorDate: Thu Jul 25 12:49:37 2024 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Thu Jul 25 18:58:00 2024 +0200

    -Werror,-Wunused-variable
    
    ...in code newly introduced in 62974cf6a8148377091cb709e7e00dacac152093
    "tdf#158661 docx import plaintext sdt: remove unnecessary goRight"
    
    Change-Id: I8d05c4936cdf17d2c819f8ab93ddab3ba6bfdc61
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171005
    Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de>
    Tested-by: Jenkins
    (cherry picked from commit e6d98900a9b035e616083416302759a28acdeb26)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170964
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx 
b/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx
index ec0037196a3c..5b5010ecb750 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx
@@ -481,7 +481,6 @@ CPPUNIT_TEST_FIXTURE(Test, testParagraphSdt)
     CPPUNIT_ASSERT_EQUAL(u"ContentControl"_ustr, aPortionType);
     uno::Reference<text::XTextContent> xContentControl;
     xTextPortion->getPropertyValue(u"ContentControl"_ustr) >>= xContentControl;
-    uno::Reference<beans::XPropertySet> xContentControlProps(xContentControl, 
uno::UNO_QUERY);
     uno::Reference<container::XEnumerationAccess> 
xContentControlEnumAccess(xContentControl, uno::UNO_QUERY);
     uno::Reference<container::XEnumeration> xContentControlEnum = 
xContentControlEnumAccess->createEnumeration();
     uno::Reference<text::XTextRange> 
xTextPortionRange(xContentControlEnum->nextElement(), uno::UNO_QUERY);

Reply via email to