summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2012-07-10 22:00:22 +0200
committerMuthu Subramanian <sumuthu@suse.com>2012-07-11 12:31:49 +0530
commit3396c06c55ad5d5345aabfcf7efc674aaaa7f9a6 (patch)
tree4c4d679bba9d13fd111560e18641e66af9fc1909 /sal
parentcfec62ef443b3cda054bb698375ee49bc11586a0 (diff)
Use rtl_zeroMemory in place of rtl_fillMemory(..., 0)
Change-Id: Idd83f6340d13a1d7111d0d5a7268f1aa8bf5c09e
Diffstat (limited to 'sal')
-rw-r--r--sal/inc/osl/file.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/inc/osl/file.hxx b/sal/inc/osl/file.hxx
index 16f7a06fe1ea..e93682d10827 100644
--- a/sal/inc/osl/file.hxx
+++ b/sal/inc/osl/file.hxx
@@ -444,7 +444,7 @@ public:
VolumeInfo( sal_uInt32 nMask ): _nMask( nMask )
{
_aInfo.uStructSize = sizeof( oslVolumeInfo );
- rtl_fillMemory( &_aInfo.uValidFields, sizeof( oslVolumeInfo ) - sizeof( sal_uInt32 ), 0 );
+ rtl_zeroMemory( &_aInfo.uValidFields, sizeof( oslVolumeInfo ) - sizeof( sal_uInt32 ) );
_aInfo.pDeviceHandle = &_aDevice._aHandle;
}
@@ -692,7 +692,7 @@ public:
FileStatus( sal_uInt32 nMask ): _nMask( nMask )
{
_aStatus.uStructSize = sizeof( oslFileStatus );
- rtl_fillMemory( &_aStatus.uValidFields, sizeof( oslFileStatus ) - sizeof( sal_uInt32 ), 0 );
+ rtl_zeroMemory( &_aStatus.uValidFields, sizeof( oslFileStatus ) - sizeof( sal_uInt32 ) );
}
/** Destructor.