| commit | c6695a4aabeaae99174b7658f2b813788ecff7f0 | [log] |
|---|---|---|
| author | Miklos Vajna <vmiklos@collabora.com> | Thu Jul 15 08:53:14 2021 +0200 |
| committer | Miklos Vajna <vmiklos@collabora.com> | Thu Jul 15 09:39:39 2021 +0200 |
| tree | d3604cc44562378792da2e17e6edc2bda35aa62b | |
| parent | eea6033404aebcba6f6473dda6c6d435bd31e831 [diff] |
writerfilter: improve comments around compat flags Make it more explicit which list is shared and which list is DOCX-only. See <https://gerrit.libreoffice.org/c/core/+/118960/3#message-09a4a96aa2d09e2182dac80bb4857a875155fff9>. Change-Id: I287dfe799eb8597ca0a8ad65ec677d8da79bf1e4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118966 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx index 5f179de..a3e8b00 100644 --- a/writerfilter/source/dmapper/DomainMapper.cxx +++ b/writerfilter/source/dmapper/DomainMapper.cxx
@@ -219,7 +219,7 @@ DomainMapper::~DomainMapper() } // Apply the document settings after everything else // Apply the document settings for both DOCX and RTF after everything else m_pImpl->GetSettingsTable()->ApplyProperties( m_pImpl->GetTextDocument( ) ); // now that importing is finished, re-enable default styles for any that were never defined/imported.
diff --git a/writerfilter/source/filter/WriterFilter.cxx b/writerfilter/source/filter/WriterFilter.cxx index 2d20ab1e..0d9326c 100644 --- a/writerfilter/source/filter/WriterFilter.cxx +++ b/writerfilter/source/filter/WriterFilter.cxx
@@ -299,7 +299,7 @@ void WriterFilter::setTargetDocument(const uno::Reference<lang::XComponent>& xDo { m_xDstDoc = xDoc; // Set some compatibility options that are valid for all the formats // Set some compatibility options that are valid for the DOCX format uno::Reference<lang::XMultiServiceFactory> xFactory(xDoc, uno::UNO_QUERY); uno::Reference<beans::XPropertySet> xSettings( xFactory->createInstance("com.sun.star.document.Settings"), uno::UNO_QUERY);