summaryrefslogtreecommitdiff
path: root/dbaccess/source/ext
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-31 08:03:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-31 08:03:51 +0200
commit8106bfcdf3ae8409c24a7c40672bb244037f923e (patch)
treea05d3c1d5d144c0bf3c4cdf4ca01deb4c4046a3a /dbaccess/source/ext
parent8fa038d895d67672131ad7ddb0792c3b2900b47d (diff)
loplugin:stringconstant: OUStringBuffer: appendAscii -> append
Change-Id: Icbef0736acd5143200478410d65cfdd2ce10eeee
Diffstat (limited to 'dbaccess/source/ext')
-rw-r--r--dbaccess/source/ext/macromigration/macromigrationpages.cxx2
-rw-r--r--dbaccess/source/ext/macromigration/migrationengine.cxx2
-rw-r--r--dbaccess/source/ext/macromigration/migrationlog.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/ext/macromigration/macromigrationpages.cxx b/dbaccess/source/ext/macromigration/macromigrationpages.cxx
index 6d101ca3382a..d61dc10646d1 100644
--- a/dbaccess/source/ext/macromigration/macromigrationpages.cxx
+++ b/dbaccess/source/ext/macromigration/macromigrationpages.cxx
@@ -142,7 +142,7 @@ namespace dbmm
OSL_ENSURE( aURLParser.GetProtocol() != INetProtocol::NotValid, "SaveDBDocPage::initializePage: illegal document URL!" );
OUStringBuffer aBaseName( aURLParser.getBase() );
- aBaseName.appendAscii( ".backup" );
+ aBaseName.append( ".backup" );
aURLParser.setBase( aBaseName.makeStringAndClear() );
m_pLocationController->setURL( aURLParser.GetMainURL( INetURLObject::NO_DECODE ) );
diff --git a/dbaccess/source/ext/macromigration/migrationengine.cxx b/dbaccess/source/ext/macromigration/migrationengine.cxx
index bbd828749693..3ea87673a367 100644
--- a/dbaccess/source/ext/macromigration/migrationengine.cxx
+++ b/dbaccess/source/ext/macromigration/migrationengine.cxx
@@ -993,7 +993,7 @@ namespace dbmm
{
const OUString sHierarhicalBase(
_rContainerLoc.isEmpty() ? OUString() :
- OUStringBuffer( _rContainerLoc ).appendAscii( "/" ).makeStringAndClear());
+ OUStringBuffer( _rContainerLoc ).append( "/" ).makeStringAndClear());
Sequence< OUString > aElementNames( _rxContainer->getElementNames() );
for ( const OUString* elementName = aElementNames.getConstArray();
diff --git a/dbaccess/source/ext/macromigration/migrationlog.cxx b/dbaccess/source/ext/macromigration/migrationlog.cxx
index e6699eea74c3..feee88118280 100644
--- a/dbaccess/source/ext/macromigration/migrationlog.cxx
+++ b/dbaccess/source/ext/macromigration/migrationlog.cxx
@@ -346,9 +346,9 @@ namespace dbmm
void lcl_describeErrors( OUStringBuffer& _rBuffer, const ErrorLog& _rErrors, const sal_uInt16 _nHeadingResId )
{
- _rBuffer.appendAscii( "=== " );
+ _rBuffer.append( "=== " );
_rBuffer.append ( OUString( MacroMigrationResId( _nHeadingResId ) ) );
- _rBuffer.appendAscii( " ===\n" );
+ _rBuffer.append( " ===\n" );
OUString sException( MacroMigrationResId( STR_EXCEPTION ) );