String=>OUString in svl's inettype and fall-out

Change-Id: I7d64d117183738b86d1869ed629d73675de9c679
This commit is contained in:
Norbert Thiebaud
2012-11-27 07:00:28 -06:00
parent e55f0825c3
commit ae0fa7cc62
12 changed files with 207 additions and 244 deletions

View File

@@ -169,11 +169,11 @@ Reference<deployment::XPackage> BackendImpl::bindPackage_(
static_cast<OWeakObject *>(this), static_cast<sal_Int16>(-1) );
}
String type, subType;
OUString type, subType;
INetContentTypeParameterList params;
if (INetContentTypes::parse( mediaType, type, subType, &params ))
{
if (type.EqualsIgnoreCaseAscii("application"))
if (type.equalsIgnoreAsciiCaseAscii("application"))
{
OUString name;
if (!bRemoved)
@@ -182,7 +182,7 @@ Reference<deployment::XPackage> BackendImpl::bindPackage_(
url, xCmdEnv, getComponentContext() );
name = StrTitle::getTitle( ucbContent );
}
if (subType.EqualsIgnoreCaseAscii("vnd.sun.star.executable"))
if (subType.equalsIgnoreAsciiCaseAscii("vnd.sun.star.executable"))
{
return new BackendImpl::ExecutablePackageImpl(
this, url, name, m_xExecutableTypeInfo, bRemoved,