diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2012-08-13 11:21:13 +0200 |
---|---|---|
committer | Arnaud Versini <arnaud.versini@gmail.com> | 2012-08-14 16:18:05 +0200 |
commit | 9a3d8ed28dc44743b6715cd8bac39b55762cba11 (patch) | |
tree | 2755682e3e28998f7df4c2fa4fde1d7235e8c872 /vcl/source/gdi/pdfwriter_impl2.cxx | |
parent | d26599c3e1dea940439985b46b727cfc22b37c38 (diff) |
Replace usage of rtl/memory.h in vcl with equivalent from string.h
Change-Id: If8d460189c57f9c02923019e95bf47db1d96c716
Diffstat (limited to 'vcl/source/gdi/pdfwriter_impl2.cxx')
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl2.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl2.cxx b/vcl/source/gdi/pdfwriter_impl2.cxx index d7998c9b1264..16f806bf6c7b 100644 --- a/vcl/source/gdi/pdfwriter_impl2.cxx +++ b/vcl/source/gdi/pdfwriter_impl2.cxx @@ -1234,8 +1234,8 @@ uno::Reference< beans::XMaterialHolder > PDFWriterImpl::initEncryption( const rt xResult.clear(); // trash temporary padded cleartext PWDs - rtl_zeroMemory( aPadOPW, sizeof(aPadOPW) ); - rtl_zeroMemory( aPadUPW, sizeof(aPadUPW) ); + memset( aPadOPW, 0, sizeof(aPadOPW) ); + memset( aPadUPW, 0, sizeof(aPadUPW) ); } return xResult; @@ -1317,7 +1317,7 @@ void PDFWriterImpl::padPassword( const rtl::OUString& i_rPassword, sal_uInt8* o_ o_pPaddedPW[i] = s_nPadString[y]; // trash memory of temporary clear text password - rtl_zeroMemory( (sal_Char*)aString.getStr(), aString.getLength() ); + memset( (sal_Char*)aString.getStr(), 0, aString.getLength() ); } /********************************** |