diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-11-27 07:00:28 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-11-27 23:00:05 -0600 |
commit | ae0fa7cc62e1f57d22e68b2ef45086aeb1dfe41c (patch) | |
tree | e3047e9be982840f258498d2195074508b3893e1 /desktop/source/deployment/registry/component/dp_component.cxx | |
parent | e55f0825c39c2d4f6991f40bcebadaef4f75337f (diff) |
String=>OUString in svl's inettype and fall-out
Change-Id: I7d64d117183738b86d1869ed629d73675de9c679
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"))); |