loplugin:stringconstant: OUStringBuffer: appendAscii -> append
Change-Id: I15e50849c5c7b897ff519e7184196535debd47da
This commit is contained in:
@@ -227,7 +227,7 @@ OUString OReportEngineJFree::getNewOutputName()
|
||||
// some meta data
|
||||
SvtUserOptions aUserOpts;
|
||||
OUStringBuffer sAuthor(aUserOpts.GetFirstName());
|
||||
sAuthor.appendAscii(" ");
|
||||
sAuthor.append(" ");
|
||||
sAuthor.append(aUserOpts.GetLastName());
|
||||
static const char s_sAuthor[] = "Author";
|
||||
aConvertedProperties[nPos].Name = s_sAuthor;
|
||||
|
@@ -64,9 +64,9 @@ namespace rptui
|
||||
{
|
||||
OUStringBuffer aBuffer;
|
||||
aBuffer.append( sFieldPrefix );
|
||||
aBuffer.appendAscii( "[" );
|
||||
aBuffer.append( "[" );
|
||||
aBuffer.append( _rFieldOrExpression );
|
||||
aBuffer.appendAscii( "]" );
|
||||
aBuffer.append( "]" );
|
||||
m_sCompleteFormula = aBuffer.makeStringAndClear();
|
||||
}
|
||||
break;
|
||||
@@ -119,10 +119,10 @@ namespace rptui
|
||||
bool bIsField = ( getType() == Field );
|
||||
OUStringBuffer aFieldContent;
|
||||
if ( bIsField )
|
||||
aFieldContent.appendAscii( "[" );
|
||||
aFieldContent.append( "[" );
|
||||
aFieldContent.append( getUndecoratedContent() );
|
||||
if ( bIsField )
|
||||
aFieldContent.appendAscii( "]" );
|
||||
aFieldContent.append( "]" );
|
||||
|
||||
return aFieldContent.makeStringAndClear();
|
||||
}
|
||||
@@ -141,7 +141,7 @@ namespace rptui
|
||||
OUString ReportFormula::getEqualUndecoratedContent() const
|
||||
{
|
||||
OUStringBuffer aBuffer;
|
||||
aBuffer.appendAscii( "=" );
|
||||
aBuffer.append( "=" );
|
||||
aBuffer.append( getUndecoratedContent() );
|
||||
return aBuffer.makeStringAndClear();
|
||||
}
|
||||
|
@@ -37,7 +37,7 @@ namespace rptui
|
||||
OUStringBuffer aBuffer;
|
||||
OUString aTmp( OStringToOUString(sHelpId, RTL_TEXTENCODING_UTF8) );
|
||||
DBG_ASSERT( INetURLObject( aTmp ).GetProtocol() == INetProtocol::NotValid, "Wrong HelpId!" );
|
||||
aBuffer.appendAscii( INET_HID_SCHEME );
|
||||
aBuffer.append( INET_HID_SCHEME );
|
||||
aBuffer.append( aTmp.getStr() );
|
||||
return aBuffer.makeStringAndClear();
|
||||
}
|
||||
|
@@ -93,7 +93,7 @@ namespace rptui
|
||||
if ( !sLabel.isEmpty() )
|
||||
{
|
||||
OUStringBuffer aBuffer;
|
||||
aBuffer.appendAscii( "=" );
|
||||
aBuffer.append( "=" );
|
||||
aBuffer.append( sLabel );
|
||||
sDataField = aBuffer.makeStringAndClear();
|
||||
bSet = false;
|
||||
|
Reference in New Issue
Block a user