[Libreoffice-commits] core.git: sfx2/source

Stephan Bergmann sbergman at redhat.com
Fri Mar 4 15:54:16 UTC 2016


 sfx2/source/appl/app.cxx |    9 ---------
 1 file changed, 9 deletions(-)

New commits:
commit af46bbb2ef7c8c11f8a9324d6188fcc189490cc9
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Mar 4 16:53:00 2016 +0100

    Looks unused
    
    PATH_MAX was reported unused on Windows with clang-cl, but the whole block seems
    rather a leftover than something that is really required.
    
    Change-Id: I545701ef83de0c2a1d74457778b86b70e334a457

diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx
index 0db3609..3925544 100644
--- a/sfx2/source/appl/app.cxx
+++ b/sfx2/source/appl/app.cxx
@@ -19,15 +19,6 @@
 
 #include <config_features.h>
 
-#if defined UNX
-#include <limits.h>
-#else // UNX
-#include <stdlib.h>
-#ifndef PATH_MAX
-#define PATH_MAX _MAX_PATH
-#endif
-#endif // UNX
-
 #include <sfx2/app.hxx>
 #include <sfx2/frame.hxx>
 #include <basic/basrdll.hxx>


More information about the Libreoffice-commits mailing list