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:
@@ -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() )
|
||||
|
Reference in New Issue
Block a user