summaryrefslogtreecommitdiff
path: root/oox/source/dump
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-31 08:02:50 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-31 08:02:50 +0200
commit6e31a794fa31dbd0d5083dbaf788ea84a7860df1 (patch)
tree0177445300e9ba5be485c2db06b9d17eb76a7dab /oox/source/dump
parentf5eeaaac7c4e73b60e69355303a4e9a2f9180d55 (diff)
loplugin:stringconstant: OUStringBuffer: appendAscii -> append
Change-Id: I21969536cec33a18be3f47a310789568a480ec2f
Diffstat (limited to 'oox/source/dump')
-rw-r--r--oox/source/dump/dumperbase.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/dump/dumperbase.cxx b/oox/source/dump/dumperbase.cxx
index 046f7dc4f33b..67835981bd39 100644
--- a/oox/source/dump/dumperbase.cxx
+++ b/oox/source/dump/dumperbase.cxx
@@ -265,7 +265,7 @@ void StringHelper::appendHex( OUStringBuffer& rStr, sal_uInt8 nData, bool bPrefi
{
static const sal_Unicode spcHexDigits[] = { '0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F' };
if( bPrefix )
- rStr.appendAscii( "0x" );
+ rStr.append( "0x" );
rStr.append( spcHexDigits[ (nData >> 4) & 0x0F ] ).append( spcHexDigits[ nData & 0x0F ] );
}
@@ -454,13 +454,13 @@ void StringHelper::appendCChar( OUStringBuffer& rStr, sal_Unicode cChar, bool bP
if( cChar > 0x00FF )
{
if( bPrefix )
- rStr.appendAscii( "\\u" );
+ rStr.append( "\\u" );
appendHex( rStr, static_cast< sal_uInt16 >( cChar ), false );
}
else
{
if( bPrefix )
- rStr.appendAscii( "\\x" );
+ rStr.append( "\\x" );
appendHex( rStr, static_cast< sal_uInt8 >( cChar ), false );
}
}