diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-02-03 12:26:19 +0100 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-02-03 17:48:05 +0100 |
commit | c8d0a3517083c4f366dd1883e30ee01581dd6f94 (patch) | |
tree | 32994b73a144cdf7641f6bb9d1845629b37089ad | |
parent | 0de3b50ff85f8a2ca1fed00c20a68cb51622dc71 (diff) |
EXC_SYSOBJNOTCREATED was not really used
Change-Id: Id5ece6db33aa92b619571252df91b965a8805c96
-rw-r--r-- | desktop/source/app/app.cxx | 7 | ||||
-rw-r--r-- | include/vcl/apptypes.hxx | 1 | ||||
-rw-r--r-- | vcl/source/app/svapp.cxx | 3 | ||||
-rw-r--r-- | vcl/source/gdi/virdev.cxx | 1 | ||||
-rw-r--r-- | vcl/source/window/window.cxx | 1 |
5 files changed, 0 insertions, 13 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 7c754cfa1864..e391c860d242 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -1303,13 +1303,6 @@ sal_uInt16 Desktop::Exception(sal_uInt16 nError) break; } - case EXC_SYSOBJNOTCREATED: - { - OUString aSysResExceptionString; - Application::Abort( aSysResExceptionString ); - break; - } - default: { m_xLockfile.reset(); diff --git a/include/vcl/apptypes.hxx b/include/vcl/apptypes.hxx index 5a22c1c0bc69..60ead542cb10 100644 --- a/include/vcl/apptypes.hxx +++ b/include/vcl/apptypes.hxx @@ -24,7 +24,6 @@ #include <tools/rtti.hxx> #define EXC_RSCNOTLOADED ((sal_uInt16)0x0100) -#define EXC_SYSOBJNOTCREATED ((sal_uInt16)0x0200) #define EXC_SYSTEM ((sal_uInt16)0x0300) #define EXC_DISPLAY ((sal_uInt16)0x0400) #define EXC_REMOTE ((sal_uInt16)0x0500) diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx index 67374f3387aa..877f29e86071 100644 --- a/vcl/source/app/svapp.cxx +++ b/vcl/source/app/svapp.cxx @@ -290,9 +290,6 @@ sal_uInt16 Application::Exception( sal_uInt16 nError ) case EXC_RSCNOTLOADED: Abort(OUString("Resource not loaded")); break; - case EXC_SYSOBJNOTCREATED: - Abort(OUString("System Object not created")); - break; default: Abort(OUString("Unknown Error")); break; diff --git a/vcl/source/gdi/virdev.cxx b/vcl/source/gdi/virdev.cxx index cc0cc1683fc8..dae1e8c1f803 100644 --- a/vcl/source/gdi/virdev.cxx +++ b/vcl/source/gdi/virdev.cxx @@ -68,7 +68,6 @@ void VirtualDevice::ImplInitVirDev( const OutputDevice* pOutDev, throw ::com::sun::star::uno::RuntimeException( OUString( "Could not create system bitmap!" ), ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >() ); - //GetpApp()->Exception( EXC_SYSOBJNOTCREATED ); } mnBitCount = ( nBitCount ? nBitCount : pOutDev->GetBitCount() ); diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index a79fecf9911e..e0226b4c7083 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -854,7 +854,6 @@ void Window::ImplInit( Window* pParent, WinBits nStyle, SystemParentData* pSyste throw ::com::sun::star::uno::RuntimeException( OUString( "Could not create system window!" ), ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >() ); - //GetpApp()->Exception( EXC_SYSOBJNOTCREATED ); } pFrame->SetCallback( this, ImplWindowFrameProc ); |