diff --git a/tools/source/fsys/wntmsc.cxx b/tools/source/fsys/wntmsc.cxx index 0d7a36dcabf1..93dda1c3d692 100644 --- a/tools/source/fsys/wntmsc.cxx +++ b/tools/source/fsys/wntmsc.cxx @@ -43,6 +43,8 @@ #include #include +#define INIT_WIN32_FIND_DATAA { 0, { 0, 0 }, { 0, 0 }, { 0, 0 }, 0, 0, 0, 0, { 0 }, { 0 } } + int Sys2SolarError_Impl( int nSysErr ); 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 HANDLE h; //() - _WIN32_FIND_DATAA aEntry = {}; + _WIN32_FIND_DATAA aEntry = INIT_WIN32_FIND_DATAA; DirEntry aAbsEntry( aDirEntry ); if ( bAccess && aAbsEntry.ToAbs() ) {