diff options
author | Jesús Corrius <jesus@softcatala.org> | 2011-11-04 12:40:26 +0100 |
---|---|---|
committer | Jesús Corrius <jesus@softcatala.org> | 2011-11-07 17:40:51 +0100 |
commit | c8d0a37c0b29dcb5a21cd28560520295ed3c59b8 (patch) | |
tree | dc8410ea65f573cfdf2ab00006aab7890a806407 /sal | |
parent | 7c6c11a5ba7219a818be7330d14c65ef36267aa8 (diff) |
Remove obsolete IsWin95A function
Diffstat (limited to 'sal')
-rw-r--r-- | 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 659d66ee1c74..6b59a1dc7ea9 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; |