loplugin:stringconstant: OUStringBuffer: appendAscii -> append
Change-Id: If06eb179be6dd00a14d8920e303af37b53e22bdc
This commit is contained in:
parent
c42d216520
commit
7144ce742a
@ -539,9 +539,9 @@ void OComboBoxModel::loadData( bool _bForce )
|
||||
qualifiedNameComponents( xMeta, m_aListSource, sCatalog, sSchema, sTable, eInDataManipulation );
|
||||
|
||||
OUStringBuffer aStatement;
|
||||
aStatement.appendAscii( "SELECT DISTINCT " );
|
||||
aStatement.append( "SELECT DISTINCT " );
|
||||
aStatement.append ( quoteName( aQuote, aFieldName ) );
|
||||
aStatement.appendAscii( " FROM " );
|
||||
aStatement.append( " FROM " );
|
||||
aStatement.append ( composeTableNameForSelect( xConnection, sCatalog, sSchema, sTable ) );
|
||||
|
||||
m_aListRowSet.setEscapeProcessing( false );
|
||||
|
@ -496,7 +496,7 @@ OUString ODatabaseForm::GetDataEncoded(bool _bURLEncoded,const Reference<XContro
|
||||
if ( _bURLEncoded )
|
||||
aResult.append('&');
|
||||
else
|
||||
aResult.appendAscii("\r\n");
|
||||
aResult.append("\r\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -423,7 +423,7 @@ namespace frm
|
||||
const Reference< XDatabaseMetaData > xMeta( xConnection->getMetaData(), UNO_SET_THROW );
|
||||
const OUString sQuoteChar = xMeta->getIdentifierQuoteString();
|
||||
|
||||
aStatement.appendAscii( "SELECT DISTINCT " );
|
||||
aStatement.append( "SELECT DISTINCT " );
|
||||
aStatement.append( sQuoteChar );
|
||||
aStatement.append( sRealFieldName );
|
||||
aStatement.append( sQuoteChar );
|
||||
@ -431,13 +431,13 @@ namespace frm
|
||||
// if the field had an alias in our form's statement, give it this alias in the new statement, too
|
||||
if ( !sFieldName.isEmpty() && ( sFieldName != sRealFieldName ) )
|
||||
{
|
||||
aStatement.appendAscii(" AS ");
|
||||
aStatement.append(" AS ");
|
||||
aStatement.append( sQuoteChar );
|
||||
aStatement.append( sFieldName );
|
||||
aStatement.append( sQuoteChar );
|
||||
}
|
||||
|
||||
aStatement.appendAscii( " FROM " );
|
||||
aStatement.append( " FROM " );
|
||||
|
||||
OUString sCatalog, sSchema, sTable;
|
||||
::dbtools::qualifiedNameComponents( xMeta, sTableName, sCatalog, sSchema, sTable, ::dbtools::eInDataManipulation );
|
||||
|
@ -115,9 +115,9 @@ namespace
|
||||
|
||||
OUStringBuffer sInfo;
|
||||
lcl_appendInt32ToBuffer( rDate.Year, sInfo, 4 );
|
||||
sInfo.appendAscii( "-" );
|
||||
sInfo.append( "-" );
|
||||
lcl_appendInt32ToBuffer( rDate.Month, sInfo, 2 );
|
||||
sInfo.appendAscii( "-" );
|
||||
sInfo.append( "-" );
|
||||
lcl_appendInt32ToBuffer( rDate.Day, sInfo, 2 );
|
||||
|
||||
return sInfo.makeStringAndClear();
|
||||
@ -167,9 +167,9 @@ namespace
|
||||
|
||||
OUStringBuffer sInfo;
|
||||
lcl_appendInt32ToBuffer( rTime.Hours, sInfo, 2 );
|
||||
sInfo.appendAscii( ":" );
|
||||
sInfo.append( ":" );
|
||||
lcl_appendInt32ToBuffer( rTime.Minutes, sInfo, 2 );
|
||||
sInfo.appendAscii( ":" );
|
||||
sInfo.append( ":" );
|
||||
lcl_appendInt32ToBuffer( rTime.Seconds, sInfo, 2 );
|
||||
if ( rTime.NanoSeconds != 0 )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user