From 3e6d8e9005a1defb0711e432fb3852274a511a35 Mon Sep 17 00:00:00 2001 From: Armin Le Grand Date: Tue, 1 Nov 2011 08:59:21 +0000 Subject: #118558# Correcting OLE attributes of LO3.4 at load time by loading as OOo3.3, details see task. --- xmloff/source/meta/xmlmetai.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/xmloff/source/meta/xmlmetai.cxx b/xmloff/source/meta/xmlmetai.cxx index 9f5aebece935..e562f611ec39 100644 --- a/xmloff/source/meta/xmlmetai.cxx +++ b/xmloff/source/meta/xmlmetai.cxx @@ -299,6 +299,14 @@ void SvXMLMetaDocumentContext::setBuildId(::rtl::OUString const& i_rBuildId, con sBuildId = OUString::createFromAscii( "680$9134" ); // fake NeoOffice as OpenOffice.org 2.2 release } } + else + { + if ((i_rBuildId.compareToAscii( RTL_CONSTASCII_STRINGPARAM("LibreOffice/3") ) == 0) ) + { + // #118558# fake LibreOffice3 as OpenOffice.org 3.3 release + sBuildId = OUString::createFromAscii( "330$9567" ); + } + } if ( sBuildId.getLength() ) try { -- cgit