From 817d35eb829db00329ea5437d50e5c682139f505 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sun, 28 Apr 2024 09:44:14 +0200 Subject: -Werror,-Wunused-variable ...after 87e0feafd3690a9b58890cc28f8ba0c521bfb557 "use more concrete UNO classes in writerfilter (SwXDocumentSettings)" Change-Id: I4f57ef975dbee32b6f9ff6654b66483c8f1083a8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166791 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- sw/source/writerfilter/filter/WriterFilter.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/sw/source/writerfilter/filter/WriterFilter.cxx b/sw/source/writerfilter/filter/WriterFilter.cxx index 7aee1060ac39..413eb00c139c 100644 --- a/sw/source/writerfilter/filter/WriterFilter.cxx +++ b/sw/source/writerfilter/filter/WriterFilter.cxx @@ -301,7 +301,6 @@ void WriterFilter::setTargetDocument(const uno::Reference& xDo assert(m_xDstDoc); // Set some compatibility options that are valid for the DOCX format - uno::Reference xFactory(xDoc, uno::UNO_QUERY); rtl::Reference xSettings = m_xDstDoc->createDocumentSettings(); xSettings->setPropertyValue("UseOldNumbering", uno::Any(false)); -- cgit v1.2.3