diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-31 08:00:20 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-31 08:00:20 +0200 |
commit | 36fe72f915c44ff026514352ff8378178f437e66 (patch) | |
tree | 8a3a94c5593cf8f6f96f308a6da20a78c1b4df38 /vcl/workben | |
parent | 6afc1202aeab1d25489eeca5f8c78737f707b113 (diff) |
loplugin:stringconstant: OUStringBuffer: appendAscii -> append
Change-Id: I69c2c27af718b1d3ff35348a69d8b57914e5ae82
Diffstat (limited to 'vcl/workben')
-rw-r--r-- | vcl/workben/svpclient.cxx | 2 | ||||
-rw-r--r-- | vcl/workben/svptest.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
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)), |