incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1195906 - /incubator/ooo/trunk/main/xmloff/source/meta/xmlmetai.cxx
Date Tue, 01 Nov 2011 09:59:22 GMT
Author: alg
Date: Tue Nov  1 09:59:21 2011
New Revision: 1195906

URL: http://svn.apache.org/viewvc?rev=1195906&view=rev
Log:
#118558# Correcting OLE attributes of LO3.4 at load time by loading as OOo3.3, details see
task.

Modified:
    incubator/ooo/trunk/main/xmloff/source/meta/xmlmetai.cxx

Modified: incubator/ooo/trunk/main/xmloff/source/meta/xmlmetai.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/xmloff/source/meta/xmlmetai.cxx?rev=1195906&r1=1195905&r2=1195906&view=diff
==============================================================================
--- incubator/ooo/trunk/main/xmloff/source/meta/xmlmetai.cxx (original)
+++ incubator/ooo/trunk/main/xmloff/source/meta/xmlmetai.cxx Tue Nov  1 09:59:21 2011
@@ -299,6 +299,14 @@ void SvXMLMetaDocumentContext::setBuildI
             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
     {



Mime
View raw message