diff options
Diffstat (limited to 'desktop/source/deployment/registry/component/dp_component.cxx')
-rw-r--r-- | desktop/source/deployment/registry/component/dp_component.cxx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/desktop/source/deployment/registry/component/dp_component.cxx b/desktop/source/deployment/registry/component/dp_component.cxx index 163ac4087af8..5d7082ab34ae 100644 --- a/desktop/source/deployment/registry/component/dp_component.cxx +++ b/desktop/source/deployment/registry/component/dp_component.cxx @@ -679,11 +679,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, ¶ms )) { - if (type.EqualsIgnoreCaseAscii("application")) + if (type.equalsIgnoreAsciiCaseAscii("application")) { OUString name; if (!bRemoved) @@ -692,7 +692,7 @@ Reference<deployment::XPackage> BackendImpl::bindPackage_( name = StrTitle::getTitle( ucbContent ); } - if (subType.EqualsIgnoreCaseAscii("vnd.sun.star.uno-component")) + if (subType.equalsIgnoreAsciiCaseAscii("vnd.sun.star.uno-component")) { // xxx todo: probe and evaluate component xml description @@ -738,8 +738,7 @@ Reference<deployment::XPackage> BackendImpl::bindPackage_( } } } - else if (subType.EqualsIgnoreCaseAscii( - "vnd.sun.star.uno-components")) + else if (subType.equalsIgnoreAsciiCaseAscii("vnd.sun.star.uno-components")) { INetContentTypeParameter const * param = params.find( rtl::OString(RTL_CONSTASCII_STRINGPARAM("platform"))); @@ -749,8 +748,7 @@ Reference<deployment::XPackage> BackendImpl::bindPackage_( identifier); } } - else if (subType.EqualsIgnoreCaseAscii( - "vnd.sun.star.uno-typelibrary")) + else if (subType.equalsIgnoreAsciiCaseAscii( "vnd.sun.star.uno-typelibrary")) { INetContentTypeParameter const * param = params.find( rtl::OString(RTL_CONSTASCII_STRINGPARAM("type"))); |