summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2024-04-28 09:44:14 +0200
committerStephan Bergmann <stephan.bergmann@allotropia.de>2024-04-28 11:29:29 +0200
commit817d35eb829db00329ea5437d50e5c682139f505 (patch)
treef1140c683df6af01ecdce2723463431764a51c7b
parent32d7935b3d506504e25737fe8ad8f0f5a2a75845 (diff)
-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 <stephan.bergmann@allotropia.de>
-rw-r--r--sw/source/writerfilter/filter/WriterFilter.cxx1
1 files changed, 0 insertions, 1 deletions
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<lang::XComponent>& xDo
assert(m_xDstDoc);
// Set some compatibility options that are valid for the DOCX format
- uno::Reference<lang::XMultiServiceFactory> xFactory(xDoc, uno::UNO_QUERY);
rtl::Reference<SwXDocumentSettings> xSettings = m_xDstDoc->createDocumentSettings();
xSettings->setPropertyValue("UseOldNumbering", uno::Any(false));