diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-04-03 15:47:32 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-04-03 15:47:32 +0000 |
commit | 923bf8e347b4ae009fe7d2fe88c1b98fa2968630 (patch) | |
tree | 0114ddb892d91f7756f6347b16f483dd2b7022d2 /dbaccess | |
parent | aa94c3098a26ba6b2b8e4d17009c9cbba0cb7ece (diff) |
INTEGRATION: CWS dbodf11 (1.31.22); FILE MERGED
2008/01/31 07:47:45 oj 1.31.22.1: #i85757# as odf 1.2 form
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/filter/xml/dbloader2.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/filter/xml/dbloader2.cxx b/dbaccess/source/filter/xml/dbloader2.cxx index fbd4ffefe538..f999fbd0c3bb 100644 --- a/dbaccess/source/filter/xml/dbloader2.cxx +++ b/dbaccess/source/filter/xml/dbloader2.cxx @@ -4,9 +4,9 @@ * * $RCSfile: dbloader2.cxx,v $ * - * $Revision: 1.32 $ + * $Revision: 1.33 $ * - * last change: $Author: vg $ $Date: 2008-02-12 13:23:55 $ + * last change: $Author: kz $ $Date: 2008-04-03 16:47:32 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -171,7 +171,7 @@ DBTypeDetection::DBTypeDetection(const Reference< XMultiServiceFactory >& _rxFac { ::rtl::OUString sMediaType; xProp->getPropertyValue( INFO_MEDIATYPE ) >>= sMediaType; - if ( sMediaType.equalsAscii(MIMETYPE_OASIS_OPENDOCUMENT_DATABASE_ASCII) || sMediaType.equalsAscii("application/vnd.oasis.opendocument.base") ) + if ( sMediaType.equalsAscii(MIMETYPE_OASIS_OPENDOCUMENT_DATABASE_ASCII) || sMediaType.equalsAscii(MIMETYPE_VND_SUN_XML_BASE_ASCII) ) return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("StarBase")); ::comphelper::disposeComponent(xProp); } |