remove unnecessary RTL_CONSTASCII_STRINGPARAM in appendAscii calls

Convert code like:
    aStrBuf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "ln(x)" ));
to:
    aStrBuf.append( "ln(x)" );
which compiles down to the same code.

Change-Id: I24c7cb45ceb32fd7cd6ec7ed203c2a5d746f1c5c
This commit is contained in:
Noel Grandin
2013-11-19 17:06:06 +02:00
parent 3af99e4d59
commit 52bbd9cc00
65 changed files with 354 additions and 389 deletions

View File

@@ -1431,7 +1431,7 @@ static void columnMetaData2DatabaseTypeDescription(
Reference< XRow > row( rs, UNO_QUERY_THROW );
int domains = 0;
OUStringBuffer queryBuf(128);
queryBuf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "SELECT oid,typtype,typname FROM pg_TYPE WHERE " ) );
queryBuf.append( "SELECT oid,typtype,typname FROM pg_TYPE WHERE " );
while( rs->next() )
{
if( row->getString( 9 ) == "d" && oidMap.find( row->getInt( 12 ) ) == oidMap.end() )