[Libreoffice] [PATCH] some cleaning for Windows part - need a review

Pierre-André Jacquod pjacquod at alumni.ethz.ch
Fri Sep 9 13:16:11 PDT 2011


hello,
liking systematic work, I was cleaning the unreadVariable warning from 
cppchecker.:-) This also let improve my programming knowledge and style...

Here a bunch of changes that touch only Win product,... that I am unable 
to test, having only unix.

Neverless, I did it would it be to reduce the warning noise (also some 
real coding error are popping out sometimes...) Could someone at least 
import and compile it with a Windows box?

By the way, just a question: from which version is Windows supported? 
some function names and comment let think me that some part could be 
deprecated.... ? (see example below)

Thanks and regards
Pierre-André

static BOOL MoveFileEx9x( LPCSTR lpExistingFileNameA, LPCSTR 
lpNewFileNameA, DWORD dwFlags )
{
     BOOL    fSuccess = FALSE;   // assume failure

     // Windows 9x has a special mechanism to move files after reboot


More information about the LibreOffice mailing list