User: rt      
Date: 05/05/13 08:43:12

Modified:
 /dba/dbaccess/source/core/dataaccess/
  databasedocument.cxx

Log:
 INTEGRATION: CWS dba20b (1.17.16); FILE MERGED
 2005/05/09 12:22:06 oj 1.17.16.1: #i48942# change mediatype oasis to sun

File Changes:

Directory: /dba/dbaccess/source/core/dataaccess/
================================================

File [changed]: databasedocument.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/databasedocument.cxx?r1=1.18&r2=1.19
Delta lines:  +2 -1
-------------------
--- databasedocument.cxx        6 May 2005 09:18:46 -0000       1.18
+++ databasedocument.cxx        13 May 2005 15:43:10 -0000      1.19
@@ -70,6 +70,7 @@
 #ifndef _COMPHELPER_GUARDING_HXX_
 #include <comphelper/guarding.hxx>
 #endif
+#include <comphelper/documentconstants.hxx>
 #ifndef _COM_SUN_STAR_EMBED_XTRANSACTEDOBJECT_HPP_
 #include <com/sun/star/embed/XTransactedObject.hpp>
 #endif
@@ -965,7 +966,7 @@
        {
                static const ::rtl::OUString sPropName = 
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("MediaType"));
                Any aAny;
-               aAny <<= ::rtl::OUString( 
RTL_CONSTASCII_USTRINGPARAM("application/vnd.sun.xml.base") );
+               aAny <<= MIMETYPE_OASIS_OPENDOCUMENT_DATABASE;
                xProp->setPropertyValue( sPropName, aAny );
        }
 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to