diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2012-11-04 15:08:55 +0100 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-11-11 08:10:01 +0000 |
commit | c4344e484b94805b32cce2e3cbc96a18d501f404 (patch) | |
tree | 2401bdd3b58f5526f4164f13c115726ed6004d81 /dtrans/source/win32 | |
parent | e7037b2e7e487d6075d17fcff7cd95a6e98700c0 (diff) |
Update dtrans commented code to use string.h function instead of rtl/memory
Change-Id: I244e436086746420cc66b0ed7d59bfcdc6606076
Reviewed-on: https://gerrit.libreoffice.org/1025
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
Diffstat (limited to 'dtrans/source/win32')
-rw-r--r-- | dtrans/source/win32/dtobj/FmtFilter.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dtrans/source/win32/dtobj/FmtFilter.cxx b/dtrans/source/win32/dtobj/FmtFilter.cxx index 516870bd7b7e..66a43db870a5 100644 --- a/dtrans/source/win32/dtobj/FmtFilter.cxx +++ b/dtrans/source/win32/dtobj/FmtFilter.cxx @@ -272,7 +272,7 @@ Sequence< sal_Int8 > SAL_CALL TextHtmlToHTMLFormat( Sequence< sal_Int8 >& aTextH // the HTML Format header char aHTMLFmtHdr[120]; - rtl_zeroMemory( aHTMLFmtHdr, sizeof( aHTMLFmtHdr ) ); + memset( aHTMLFmtHdr, 0, sizeof( aHTMLFmtHdr ) ); // fill the buffer with dummy values to calc the // exact length @@ -318,7 +318,7 @@ Sequence< sal_Int8 > SAL_CALL TextHtmlToHTMLFormat( Sequence< sal_Int8 >& aTextH nEndFrgmt = nEndFrgmt + lHTMLFmtHdr; // fill the html header - rtl_zeroMemory( aHTMLFmtHdr, sizeof( aHTMLFmtHdr ) ); + memset( aHTMLFmtHdr, 0, sizeof( aHTMLFmtHdr ) ); wsprintf( aHTMLFmtHdr, @@ -327,7 +327,7 @@ Sequence< sal_Int8 > SAL_CALL TextHtmlToHTMLFormat( Sequence< sal_Int8 >& aTextH // we add space for a trailing \0 aHTMLFmtSequence.realloc( lHTMLFmtHdr + aTextHtml.getLength( ) + 1 ); - rtl_zeroMemory( aHTMLFmtSequence.getArray( ), aHTMLFmtSequence.getLength( ) ); + memset( aHTMLFmtSequence.getArray( ), 0, aHTMLFmtSequence.getLength( ) ); // copy the HTML Format header memcpy( |