diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-31 08:03:51 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-31 08:03:51 +0200 |
commit | 8106bfcdf3ae8409c24a7c40672bb244037f923e (patch) | |
tree | a05d3c1d5d144c0bf3c4cdf4ca01deb4c4046a3a /dbaccess/source/ui | |
parent | 8fa038d895d67672131ad7ddb0792c3b2900b47d (diff) |
loplugin:stringconstant: OUStringBuffer: appendAscii -> append
Change-Id: Icbef0736acd5143200478410d65cfdd2ce10eeee
Diffstat (limited to 'dbaccess/source/ui')
4 files changed, 8 insertions, 8 deletions
diff --git a/dbaccess/source/ui/misc/WCopyTable.cxx b/dbaccess/source/ui/misc/WCopyTable.cxx index 2aca86e1c8d6..1baf3a9b1fab 100644 --- a/dbaccess/source/ui/misc/WCopyTable.cxx +++ b/dbaccess/source/ui/misc/WCopyTable.cxx @@ -223,7 +223,7 @@ OUString ObjectCopySource::getSelectStatement() const else { // table OUStringBuffer aSQL; - aSQL.appendAscii( "SELECT " ); + aSQL.append( "SELECT " ); // we need to create the sql stmt with column names // otherwise it is possible that names don't match @@ -237,9 +237,9 @@ OUString ObjectCopySource::getSelectStatement() const aSQL.append( ::dbtools::quoteName( sQuote, *pColumnName++ ) ); if ( pColumnName == pEnd ) - aSQL.appendAscii( " " ); + aSQL.append( " " ); else - aSQL.appendAscii( ", " ); + aSQL.append( ", " ); } aSQL.append( "FROM " + ::dbtools::composeTableNameForSelect( m_xConnection, m_xObject ) ); @@ -387,7 +387,7 @@ OFieldDescription* NamedTableCopySource::createFieldDescription( const OUString& OUString NamedTableCopySource::getSelectStatement() const { OUStringBuffer aSQL; - aSQL.appendAscii( "SELECT * FROM " ); + aSQL.append( "SELECT * FROM " ); aSQL.append( ::dbtools::composeTableNameForSelect( m_xConnection, m_sTableCatalog, m_sTableSchema, m_sTableBareName ) ); diff --git a/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx b/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx index 4665a9a882af..bf48cdaa0aa1 100644 --- a/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx +++ b/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx @@ -541,7 +541,7 @@ namespace dbaui if ( xTitle.is() ) { sTitle.append( xTitle->getTitle() ); - sTitle.appendAscii(" : "); + sTitle.append(" : "); } sTitle.append( getPrivateTitle() ); return sTitle.makeStringAndClear(); diff --git a/dbaccess/source/ui/misc/defaultobjectnamecheck.cxx b/dbaccess/source/ui/misc/defaultobjectnamecheck.cxx index 164ef07a7640..a6fcd562f4cf 100644 --- a/dbaccess/source/ui/misc/defaultobjectnamecheck.cxx +++ b/dbaccess/source/ui/misc/defaultobjectnamecheck.cxx @@ -106,7 +106,7 @@ namespace dbaui if ( !m_pImpl->sRelativeRoot.isEmpty() ) { aCompleteName.append( m_pImpl->sRelativeRoot ); - aCompleteName.appendAscii( "/" ); + aCompleteName.append( "/" ); } aCompleteName.append( _rObjectName ); diff --git a/dbaccess/source/ui/querydesign/QueryDesignView.cxx b/dbaccess/source/ui/querydesign/QueryDesignView.cxx index 47550a9d5674..7f1932ce502e 100644 --- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx +++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx @@ -686,9 +686,9 @@ namespace { OSL_ENSURE(!pEntryField->GetFunction().isEmpty(),"Function name must not be empty! ;-("); OUStringBuffer aTmpStr2( pEntryField->GetFunction()); - aTmpStr2.appendAscii("("); + aTmpStr2.append("("); aTmpStr2.append(aTmpStr.makeStringAndClear()); - aTmpStr2.appendAscii(")"); + aTmpStr2.append(")"); aTmpStr = aTmpStr2; } |