summaryrefslogtreecommitdiff
path: root/framework/source/xml/imagesdocumenthandler.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-31 08:03:15 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-31 08:03:15 +0200
commite9b75064158a9482d79a123319ad0fe8c497e40a (patch)
treed6ed41177bc5682addc6cbf218bd51f533e640f7 /framework/source/xml/imagesdocumenthandler.cxx
parent2cef646fc19add099d3da7ef46865390e7ca7b16 (diff)
loplugin:stringconstant: OUStringBuffer: appendAscii -> append
Change-Id: Iadb6e16a7aca322a78a82ae1a52f5d085b300efc
Diffstat (limited to 'framework/source/xml/imagesdocumenthandler.cxx')
-rw-r--r--framework/source/xml/imagesdocumenthandler.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/xml/imagesdocumenthandler.cxx b/framework/source/xml/imagesdocumenthandler.cxx
index aab2c4c64f37..f2a86863e25a 100644
--- a/framework/source/xml/imagesdocumenthandler.cxx
+++ b/framework/source/xml/imagesdocumenthandler.cxx
@@ -115,11 +115,11 @@ OReadImagesDocumentHandler::OReadImagesDocumentHandler( ImageListsDescriptor& aI
OUStringBuffer temp( 20 );
if ( ImagesEntries[i].nNamespace == IMG_NS_IMAGE )
- temp.appendAscii( XMLNS_IMAGE );
+ temp.append( XMLNS_IMAGE );
else
- temp.appendAscii( XMLNS_XLINK );
+ temp.append( XMLNS_XLINK );
- temp.appendAscii( XMLNS_FILTER_SEPARATOR );
+ temp.append( XMLNS_FILTER_SEPARATOR );
temp.appendAscii( ImagesEntries[i].aEntryName );
m_aImageMap.insert( ImageHashMap::value_type( temp.makeStringAndClear(), (Image_XML_Entry)i ) );
}
@@ -703,7 +703,7 @@ void OWriteImagesDocumentHandler::WriteImageList( const ImageListItemDescriptor*
OUStringBuffer aColorStrBuffer( 8 );
sal_Int64 nValue = pImageList->aMaskColor.GetRGBColor();
- aColorStrBuffer.appendAscii( "#" );
+ aColorStrBuffer.append( "#" );
aColorStrBuffer.append( OUString::number( nValue, 16 ));
pList->AddAttribute( m_aXMLImageNS + ATTRIBUTE_MASKCOLOR,