From 36fe72f915c44ff026514352ff8378178f437e66 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 31 Aug 2015 08:00:20 +0200 Subject: loplugin:stringconstant: OUStringBuffer: appendAscii -> append Change-Id: I69c2c27af718b1d3ff35348a69d8b57914e5ae82 --- vcl/workben/svpclient.cxx | 2 +- vcl/workben/svptest.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/workben') diff --git a/vcl/workben/svpclient.cxx b/vcl/workben/svpclient.cxx index 0a0dad1ec222..85ece06149c3 100644 --- a/vcl/workben/svpclient.cxx +++ b/vcl/workben/svpclient.cxx @@ -187,7 +187,7 @@ void MyWin::parseList( const OString& rList ) { OUStringBuffer aNewElement( 64 ); aNewElement.append( aElementType ); - aNewElement.appendAscii( ": " ); + aNewElement.append( ": " ); aNewElement.append( OStringToOUString( aLine, RTL_TEXTENCODING_ASCII_US ) ); m_aSvpBitmaps->InsertEntry( aNewElement.makeStringAndClear() ); } diff --git a/vcl/workben/svptest.cxx b/vcl/workben/svptest.cxx index f13acfa967c6..140f807e3971 100644 --- a/vcl/workben/svptest.cxx +++ b/vcl/workben/svptest.cxx @@ -269,7 +269,7 @@ void MyWin::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) OUStringBuffer aPrintText(1024); long nMaxWidth = 0; - aPrintText.appendAscii( "SVP test program" ); + aPrintText.append( "SVP test program" ); rRenderContext.DrawText(Rectangle(Point((aPaperSize.Width() - 4000) / 2, 2000), Size(aPaperSize.Width() - 2100 - nMaxWidth, aPaperSize.Height() - 4000)), -- cgit