summaryrefslogtreecommitdiffstats
path: root/sal/osl
diff options
context:
space:
mode:
authorJesús Corrius <jesus@softcatala.org>2011-11-04 12:40:26 +0100
committerJesús Corrius <jesus@softcatala.org>2011-11-07 17:40:51 +0100
commitc8d0a37c0b29dcb5a21cd28560520295ed3c59b8 (patch)
treedc8410ea65f573cfdf2ab00006aab7890a806407 /sal/osl
parentconfigure: $with_system_libs checks are redundant (diff)
downloadcore-c8d0a37c0b29dcb5a21cd28560520295ed3c59b8.tar.gz
core-c8d0a37c0b29dcb5a21cd28560520295ed3c59b8.zip
Remove obsolete IsWin95A function
Diffstat (limited to 'sal/osl')
-rw-r--r--sal/osl/w32/signal.cxx21
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;