From a5da61e8e08d2458d483fe8860deb7a501abf4ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jes=C3=BAs=20Corrius?= <jesus@softcatala.org>
Date: Fri, 4 Nov 2011 12:40:26 +0100
Subject: [PATCH] Remove obsolete IsWin95A function

---
 sal/osl/w32/signal.cxx |   21 +--------------------
 1 files changed, 1 insertions(+), 20 deletions(-)

diff --git a/sal/osl/w32/signal.cxx b/sal/osl/w32/signal.cxx
index 659d66e..6b59a1d 100644
--- a/sal/osl/w32/signal.cxx
+++ b/sal/osl/w32/signal.cxx
@@ -228,25 +228,6 @@ static BOOL ReportCrash( LPEXCEPTION_POINTERS lpEP )
 /* SignalHandlerFunction    */
 /*****************************************************************************/
 
-static BOOL WINAPI IsWin95A(void)
-{
-    OSVERSIONINFO   ovi;
-
-    ZeroMemory( &ovi, sizeof(ovi) );
-    ovi.dwOSVersionInfoSize = sizeof(ovi);
-
-    if ( GetVersionEx( &ovi ) )
-        /* See MSDN January 2000 documentation of GetVersionEx */
-        return  (ovi.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS) &&
-                (ovi.dwMajorVersion <= 4) &&
-                (ovi.dwMinorVersion == 0) &&
-                (ovi.dwBuildNumber == 0x040003B6);
-
-    /* Something wrent wrong. So assume we have an older operating prior Win95 */
-
-    return TRUE;
-}
-
 /* magic Microsoft C++ compiler exception constant */
 #define EXCEPTION_MSC_CPP_EXCEPTION 0xe06d7363
 
@@ -295,7 +276,7 @@ static long WINAPI SignalHandlerFunction(LPEXCEPTION_POINTERS lpEP)
     {
         bNested = sal_True;
 
-        if ( bRaiseCrashReporter && ReportCrash( lpEP ) || IsWin95A() )
+        if ( bRaiseCrashReporter && ReportCrash( lpEP ) )
         {
             CallSignalHandler(&Info);
             Action = osl_Signal_ActKillApp;
-- 
1.7.1

