WaE: missing initializer for member

This commit is contained in:
David Tardon 2012-03-07 19:08:44 +01:00
parent fd4efa8bf5
commit f6f48f89c1

View file

@ -43,6 +43,8 @@
#include <tools/fsys.hxx> #include <tools/fsys.hxx>
#include <vector> #include <vector>
#define INIT_WIN32_FIND_DATAA { 0, { 0, 0 }, { 0, 0 }, { 0, 0 }, 0, 0, 0, 0, { 0 }, { 0 } }
int Sys2SolarError_Impl( int nSysErr ); int Sys2SolarError_Impl( int nSysErr );
rtl::OString Upper_Impl(const rtl::OString &rStr) rtl::OString Upper_Impl(const rtl::OString &rStr)
@ -730,7 +732,7 @@ sal_Bool FileStat::Update( const DirEntry& rDirEntry, sal_Bool bForceAccess )
// Statusinformation vom Betriebssystem holen // Statusinformation vom Betriebssystem holen
HANDLE h; //() HANDLE h; //()
_WIN32_FIND_DATAA aEntry = {}; _WIN32_FIND_DATAA aEntry = INIT_WIN32_FIND_DATAA;
DirEntry aAbsEntry( aDirEntry ); DirEntry aAbsEntry( aDirEntry );
if ( bAccess && aAbsEntry.ToAbs() ) if ( bAccess && aAbsEntry.ToAbs() )
{ {