diff options
Diffstat (limited to 'vcl/workben/svpclient.cxx')
-rw-r--r-- | vcl/workben/svpclient.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/workben/svpclient.cxx b/vcl/workben/svpclient.cxx index 65d16c11e0fe..bcb14219e6a3 100644 --- a/vcl/workben/svpclient.cxx +++ b/vcl/workben/svpclient.cxx @@ -266,7 +266,7 @@ IMPL_LINK_NOARG_TYPED( MyWin, SelectHdl, ListBox&, void) aCommand.append( OUStringToOString( aEntry.copy( nPos+2 ), RTL_TEXTENCODING_ASCII_US ) ); OString aAnswer( processCommand( aCommand.makeStringAndClear() ) ); SvMemoryStream aStream( aAnswer.getLength() ); - aStream.Write( aAnswer.getStr(), aAnswer.getLength() ); + aStream.WriteBytes( aAnswer.getStr(), aAnswer.getLength() ); aStream.Seek( STREAM_SEEK_TO_BEGIN ); Graphic aGraphicResult; |