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

loplugin:stringconstant: adapt to improved OUStringLiteral1 (svtools)

Change-Id: Ifdfc684ea894e637617de845facbad645ed6331c
üst d7beb36e
......@@ -872,7 +872,7 @@ void ViewTabListBox_Impl::DoQuickSearch( sal_Unicode rChar )
bool bFound = mpParent->SearchNextEntry( mnSearchIndex, maQuickSearchText, false );
if ( !bFound && ( aLastText.getLength() == 1 ) &&
( aLastText == OUString(rChar) ) )
( aLastText == OUStringLiteral1(rChar) ) )
{
mnSearchIndex = aLastPos + 1;
maQuickSearchText = aLastText;
......
......@@ -442,7 +442,7 @@ void SvtMatchContext_Impl::ReadFolder( const OUString& rURL,
// folders should get a final slash automatically
if ( bIsFolder )
aInput += OUString(aDelimiter);
aInput += OUStringLiteral1(aDelimiter);
Insert( aInput, aObj.GetMainURL( INetURLObject::NO_DECODE ), true );
}
......
......@@ -119,7 +119,7 @@ const OUString ApplyLreOrRleEmbedding( const OUString &rText )
OUString aRes( rText );
if (bFound)
{
aRes = OUString(cStart) + aRes
aRes = OUStringLiteral1(cStart) + aRes
+ OUStringLiteral1(cPopDirectionalFormat);
}
......
......@@ -470,7 +470,7 @@ static OString lcl_ConvertCharToHTML( sal_Unicode c,
.append(';');
if( pNonConvertableChars &&
-1 == pNonConvertableChars->indexOf( c ) )
(*pNonConvertableChars) += OUString(c);
(*pNonConvertableChars) += OUStringLiteral1(c);
}
}
return aDest.makeStringAndClear();
......
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