diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-31 08:03:28 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-31 08:03:28 +0200 |
commit | 7144ce742a1c28efb248f99ad527423fe55977f0 (patch) | |
tree | 0e68cd6bfa7b64b040588f7ecef7a1ccdec2a2ab /forms/source/component/Filter.cxx | |
parent | c42d21652000c28df16d67bd46cf3e0116099f3e (diff) |
loplugin:stringconstant: OUStringBuffer: appendAscii -> append
Change-Id: If06eb179be6dd00a14d8920e303af37b53e22bdc
Diffstat (limited to 'forms/source/component/Filter.cxx')
-rw-r--r-- | forms/source/component/Filter.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/component/Filter.cxx b/forms/source/component/Filter.cxx index d3246b9062db..bb1cb743a5ed 100644 --- a/forms/source/component/Filter.cxx +++ b/forms/source/component/Filter.cxx @@ -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 ); |