diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-31 08:00:56 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-31 08:00:56 +0200 |
commit | 94c76686b5b626cf8f771fc740e51c506c7a11bd (patch) | |
tree | e0ef40c7dfe04cef0ba0278ca6ef965f8d3d3bcd /ucb/source/ucp/hierarchy | |
parent | c168ff9c5e5a81cb610ebd1f4a2b763df51e17a2 (diff) |
loplugin:stringconstant: OUStringBuffer: appendAscii -> append
Change-Id: I18420ed24918d77be30a1b4b3a7d55f5299fb82e
Diffstat (limited to 'ucb/source/ucp/hierarchy')
-rw-r--r-- | ucb/source/ucp/hierarchy/hierarchydata.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ucb/source/ucp/hierarchy/hierarchydata.cxx b/ucb/source/ucp/hierarchy/hierarchydata.cxx index 4572a34b093c..bd9805c1b557 100644 --- a/ucb/source/ucp/hierarchy/hierarchydata.cxx +++ b/ucb/source/ucp/hierarchy/hierarchydata.cxx @@ -67,23 +67,23 @@ void makeXMLName( const OUString & rIn, OUStringBuffer & rBuffer ) switch ( c ) { case '&': - rBuffer.appendAscii( "&" ); + rBuffer.append( "&" ); break; case '"': - rBuffer.appendAscii( """ ); + rBuffer.append( """ ); break; case '\'': - rBuffer.appendAscii( "'" ); + rBuffer.append( "'" ); break; case '<': - rBuffer.appendAscii( "<" ); + rBuffer.append( "<" ); break; case '>': - rBuffer.appendAscii( ">" ); + rBuffer.append( ">" ); break; default: @@ -996,7 +996,7 @@ OUString HierarchyEntry::createPathFromHierarchyURL( if ( nLen ) { OUStringBuffer aNewPath; - aNewPath.appendAscii( "['" ); + aNewPath.append( "['" ); sal_Int32 nStart = 0; sal_Int32 nEnd = aPath.indexOf( '/' ); @@ -1011,12 +1011,12 @@ OUString HierarchyEntry::createPathFromHierarchyURL( if ( nEnd != nLen ) { - aNewPath.appendAscii( "']/Children/['" ); + aNewPath.append( "']/Children/['" ); nStart = nEnd + 1; nEnd = aPath.indexOf( '/', nStart ); } else - aNewPath.appendAscii( "']" ); + aNewPath.append( "']" ); } while ( nEnd != nLen ); @@ -1115,9 +1115,9 @@ const HierarchyEntryData& HierarchyEntry::iterator::operator*() const try { OUStringBuffer aKey; - aKey.appendAscii( "['" ); + aKey.append( "['" ); makeXMLName( m_pImpl->names.getConstArray()[ m_pImpl->pos ], aKey ); - aKey.appendAscii( "']" ); + aKey.append( "']" ); OUString aTitle = aKey.makeStringAndClear(); OUString aTargetURL = aTitle; |