Kaydet (Commit) bb80b9e6 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

uui: Use appropriate OUString functions on string constants

Change-Id: I846ee3bf07a5c99da11f0041de1e778584bfae09
üst 3607b14a
......@@ -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;
......
......@@ -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 (
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment