summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2011-11-01 08:59:21 +0000
committerArmin Le Grand <alg@apache.org>2011-11-01 08:59:21 +0000
commit3e6d8e9005a1defb0711e432fb3852274a511a35 (patch)
tree0a28d2ed3c420edf196e1dd64bd3ecd5c5a173e4 /xmloff
parent707a4b6453885cbd9628b9b12da0df00302208ba (diff)
#118558# Correcting OLE attributes of LO3.4 at load time by loading as OOo3.3, details see task.
Notes
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/meta/xmlmetai.cxx8
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
{