diff options
author | Armin Le Grand <alg@apache.org> | 2011-11-01 08:59:21 +0000 |
---|---|---|
committer | Armin Le Grand <alg@apache.org> | 2011-11-01 08:59:21 +0000 |
commit | 3e6d8e9005a1defb0711e432fb3852274a511a35 (patch) | |
tree | 0a28d2ed3c420edf196e1dd64bd3ecd5c5a173e4 | |
parent | 707a4b6453885cbd9628b9b12da0df00302208ba (diff) |
#118558# Correcting OLE attributes of LO3.4 at load time by loading as OOo3.3, details see task.
Notes
Notes:
prefer: bea63709d05514555d5283279cd66439f4ceed73
-rw-r--r-- | xmloff/source/meta/xmlmetai.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
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 { |