diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 13:39:00 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 14:12:37 +0100 |
commit | bb80b9e6cda268bb57481e7835ac6e4009174053 (patch) | |
tree | 9ab46f6b9043dc6ab1ea0159e67e9d7f2a7733ac | |
parent | 3607b14acd6541d31e7a882e83b743423d8a22b7 (diff) |
uui: Use appropriate OUString functions on string constants
Change-Id: I846ee3bf07a5c99da11f0041de1e778584bfae09
-rw-r--r-- | uui/source/iahndl-filter.cxx | 6 | ||||
-rw-r--r-- | uui/source/iahndl.cxx | 4 | ||||
-rw-r--r-- | uui/source/passwordcontainer.cxx | 4 |
3 files changed, 6 insertions, 8 deletions
diff --git a/uui/source/iahndl-filter.cxx b/uui/source/iahndl-filter.cxx index bfdb312855e9..6291553f7203 100644 --- a/uui/source/iahndl-filter.cxx +++ b/uui/source/iahndl-filter.cxx @@ -216,8 +216,7 @@ handleFilterOptionsRequest_( sal_Int32 nPropCount = rRequest.rProperties.getLength(); for( sal_Int32 ind = 0; ind < nPropCount; ++ind ) { - if( rRequest.rProperties[ind].Name.equals( - OUString("FilterName")) ) + if( rRequest.rProperties[ind].Name == "FilterName" ) { rRequest.rProperties[ind].Value >>= aFilterName; break; @@ -231,8 +230,7 @@ handleFilterOptionsRequest_( for( sal_Int32 nProperty=0; nProperty < nPropertyCount; ++nProperty ) - if( aProps[nProperty].Name.equals( - OUString("UIComponent")) ) + if( aProps[nProperty].Name == "UIComponent" ) { OUString aServiceName; aProps[nProperty].Value >>= aServiceName; diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx index 42080180de6f..cae3bf9f732e 100644 --- a/uui/source/iahndl.cxx +++ b/uui/source/iahndl.cxx @@ -437,7 +437,7 @@ UUIInteractionHelper::handleRequest_impl( for ( sal_Int32 index=0; index< sModules.getLength(); ++index ) { if ( index ) - aName = aName + "," + sModules[index]; + aName += "," + sModules[index]; else aName = sModules[index]; // 1st name } @@ -1298,7 +1298,7 @@ UUIInteractionHelper::handleBrokenPackageRequest( OUString title( utl::ConfigManager::getProductName() + - OUString( " " ) + + " " + utl::ConfigManager::getProductVersion() ); switch ( diff --git a/uui/source/passwordcontainer.cxx b/uui/source/passwordcontainer.cxx index 12d95cc7dd60..08a8b686b307 100644 --- a/uui/source/passwordcontainer.cxx +++ b/uui/source/passwordcontainer.cxx @@ -334,8 +334,8 @@ uno::Sequence< OUString > PasswordContainerInteractionHandler::getSupportedServiceNames_Static() { uno::Sequence< OUString > aSNS( 1 ); - aSNS.getArray()[ 0 ] = OUString( - "com.sun.star.task.PasswordContainerInteractionHandler" ); + aSNS.getArray()[ 0 ] = + "com.sun.star.task.PasswordContainerInteractionHandler"; return aSNS; } |