Kaydet (Commit) 365aa206 authored tarafından Chris Sherlock's avatar Chris Sherlock

vcl: Remove unneeded exception constants

EXC_USER and EXC_REMOTE are not used. EXC_REMOTE was actually used for the
RVP (Remote Visualization Protocol), but that was apparently removed when
Sun opensourced StarView!

Change-Id: Icc644146d18d1ba2f6503c6fdbd9acc85cb9e75c
üst 836320f6
......@@ -33,7 +33,6 @@ extern "C" {
#define OSL_SIGNAL_USER_RESOURCEFAILURE (OSL_SIGNAL_USER_RESERVED - 1)
#define OSL_SIGNAL_USER_X11SUBSYSTEMERROR (OSL_SIGNAL_USER_RESERVED - 2)
#define OSL_SIGNAL_USER_RVPCONNECTIONERROR (OSL_SIGNAL_USER_RESERVED - 3)
typedef void* oslSignalHandler;
......
......@@ -26,8 +26,6 @@
#define EXC_RSCNOTLOADED ((sal_uInt16)0x0100)
#define EXC_SYSTEM ((sal_uInt16)0x0300)
#define EXC_DISPLAY ((sal_uInt16)0x0400)
#define EXC_REMOTE ((sal_uInt16)0x0500)
#define EXC_USER ((sal_uInt16)0x1000)
#define EXC_MAJORTYPE ((sal_uInt16)0xFF00)
#define EXC_MINORTYPE ((sal_uInt16)0x00FF)
......
......@@ -284,7 +284,6 @@ void Application::Exception( sal_uInt16 nError )
// System has precedence (so do nothing)
case EXC_SYSTEM:
case EXC_DISPLAY:
case EXC_REMOTE:
break;
#ifdef DBG_UTIL
......
......@@ -122,11 +122,6 @@ oslSignalAction SAL_CALL VCLExceptionSignal_impl( void* /*pData*/, oslSignalInfo
(pInfo->UserSignal == OSL_SIGNAL_USER_X11SUBSYSTEMERROR) )
nVCLException = EXC_DISPLAY;
// Remote-Client
if ((pInfo->Signal == osl_Signal_User) &&
(pInfo->UserSignal == OSL_SIGNAL_USER_RVPCONNECTIONERROR) )
nVCLException = EXC_REMOTE;
if ( nVCLException )
{
bIn = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment