This is an automated email from the ASF dual-hosted git repository. jimjag pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit a4326a7d782401fa9c45325aff227d8f85214cac Author: Jim Jagielski <[email protected]> AuthorDate: Tue Nov 3 09:23:32 2026 -0500 embeddedobj: re-export loaded embedded objects in ODF 1.4 Extended as in the strict formats --- main/embeddedobj/source/commonembedding/persistence.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/embeddedobj/source/commonembedding/persistence.cxx b/main/embeddedobj/source/commonembedding/persistence.cxx index 8733b9445e..46cf26306f 100644 --- a/main/embeddedobj/source/commonembedding/persistence.cxx +++ b/main/embeddedobj/source/commonembedding/persistence.cxx @@ -69,7 +69,7 @@ using namespace ::com::sun::star; //------------------------------------------------------ -// the values of Save/ODF/DefaultVersion that select strict ODF 1.2, 1.3 and 1.4 (SvtSaveOptions::ODFVER_012, ODFVER_013, ODFVER_014) +// the values of Save/ODF/DefaultVersion that select strict ODF 1.2, 1.3 and 1.4 (SvtSaveOptions::ODFVER_012, ODFVER_013, ODFVER_014) and ODF 1.4 Extended (ODFVER_014_EXT) static sal_Bool IsStrictODF12_Impl( const uno::Reference< lang::XMultiServiceFactory >& xFactory ) { try @@ -81,7 +81,7 @@ static sal_Bool IsStrictODF12_Impl( const uno::Reference< lang::XMultiServiceFac ::rtl::OUString::createFromAscii( "Save/ODF" ), ::rtl::OUString::createFromAscii( "DefaultVersion" ), ::comphelper::ConfigurationHelper::E_READONLY ) >>= nVersion; - return nVersion == 4 || nVersion == 5 || nVersion == 7; + return nVersion == 4 || nVersion == 5 || nVersion == 7 || nVersion == 8; } catch ( uno::Exception& ) {
