diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-03-15 18:41:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-03-15 18:41:58 +0100 |
commit | 29c49b37048e550f4ba1d6af21c118c6b96a9288 (patch) | |
tree | d752428b06d685b9de81a3bc30c002585470a9dc | |
parent | b279360e454a1025af3deeb145cb100c48b554af (diff) |
compareToAscii(RTL_CONSTASCII_STRINGPARAM(s)) != compareToAscii(s)
...broken with 2cbdaf677c0a1e88aa582c6a17b496dff61a78b0 "package: no more
RTL_CONSTASCII_USTRINGPARAM in zippackage"
Change-Id: I867b9be723d1fde374ade68355e6b66df3c19332
-rw-r--r-- | package/source/zippackage/ZipPackage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/source/zippackage/ZipPackage.cxx b/package/source/zippackage/ZipPackage.cxx index 26e7c46fcf8b..c3561abc605f 100644 --- a/package/source/zippackage/ZipPackage.cxx +++ b/package/source/zippackage/ZipPackage.cxx @@ -385,7 +385,7 @@ void ZipPackage::parseManifest() if ( !bManifestParsed ) { // the manifest.xml could not be successfully parsed, this is an inconsistent package - if ( aPackageMediatype.compareToAscii("application/vnd.") == 0 ) + if ( aPackageMediatype.startsWith("application/vnd.") ) { // accept only types that look similar to own mediatypes m_pRootFolder->SetMediaType( aPackageMediatype ); |