From 3df9adb1b0031e77977431c90edee651b2aaa195 Mon Sep 17 00:00:00 2001 From: Bjoern Michaelsen Date: Sun, 5 Jan 2014 04:21:57 +0100 Subject: remove broken DBG_UNHANDLED_EXCEPTION macro crap this breaks quickly doing a `make sw debug=T` hard, with e.g. sw/source/ui/vba/vbasystem.cxx:239: undefined reference to `DbgUnhandledException(com::sun::star::uno::Any const&, char const*, char const*)' fix this for --disable-dbgutl builds too before reverting this commit. Change-Id: Ie54d63ea11b4e36c737b22099027711ad0435acc --- sw/source/core/doc/docxforms.cxx | 1 - sw/source/filter/xml/xmlimp.cxx | 2 -- sw/source/ui/shells/annotsh.cxx | 1 - sw/source/ui/shells/drawsh.cxx | 1 - sw/source/ui/shells/drwtxtex.cxx | 1 - sw/source/ui/shells/frmsh.cxx | 1 - sw/source/ui/shells/textsh1.cxx | 1 - sw/source/ui/vba/vbasystem.cxx | 1 - 8 files changed, 9 deletions(-) (limited to 'sw/source') diff --git a/sw/source/core/doc/docxforms.cxx b/sw/source/core/doc/docxforms.cxx index 793d721d6f68..82a6946a00bd 100644 --- a/sw/source/core/doc/docxforms.cxx +++ b/sw/source/core/doc/docxforms.cxx @@ -90,7 +90,6 @@ void SwDoc::initXForms( bool bCreateDefaultModel ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); } } diff --git a/sw/source/filter/xml/xmlimp.cxx b/sw/source/filter/xml/xmlimp.cxx index 96b0722f4f1b..23eb8138e571 100644 --- a/sw/source/filter/xml/xmlimp.cxx +++ b/sw/source/filter/xml/xmlimp.cxx @@ -915,7 +915,6 @@ void SwXMLImport::endDocument( void ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); } } } @@ -1484,7 +1483,6 @@ void SwXMLImport::SetDocumentSpecificSettings( } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); } } diff --git a/sw/source/ui/shells/annotsh.cxx b/sw/source/ui/shells/annotsh.cxx index 6f1b45d548d6..60c8c5c30bff 100644 --- a/sw/source/ui/shells/annotsh.cxx +++ b/sw/source/ui/shells/annotsh.cxx @@ -438,7 +438,6 @@ void SwAnnotationShell::Exec( SfxRequest &rReq ) } catch (const uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); } rReq.Ignore (); } diff --git a/sw/source/ui/shells/drawsh.cxx b/sw/source/ui/shells/drawsh.cxx index 9ee7a70b7bbc..c3d31208af54 100644 --- a/sw/source/ui/shells/drawsh.cxx +++ b/sw/source/ui/shells/drawsh.cxx @@ -213,7 +213,6 @@ void SwDrawShell::Execute(SfxRequest &rReq) } catch (const uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); } rReq.Ignore (); } diff --git a/sw/source/ui/shells/drwtxtex.cxx b/sw/source/ui/shells/drwtxtex.cxx index 56f4184df969..761e507e5af3 100644 --- a/sw/source/ui/shells/drwtxtex.cxx +++ b/sw/source/ui/shells/drwtxtex.cxx @@ -375,7 +375,6 @@ void SwDrawTextShell::Execute( SfxRequest &rReq ) } catch (const uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); } rReq.Ignore (); } diff --git a/sw/source/ui/shells/frmsh.cxx b/sw/source/ui/shells/frmsh.cxx index 8ffa207c3a74..dedc9969cbcb 100644 --- a/sw/source/ui/shells/frmsh.cxx +++ b/sw/source/ui/shells/frmsh.cxx @@ -262,7 +262,6 @@ void SwFrameShell::Execute(SfxRequest &rReq) } catch (const uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); } rReq.Ignore (); } diff --git a/sw/source/ui/shells/textsh1.cxx b/sw/source/ui/shells/textsh1.cxx index 98686536a229..2a97cdb36421 100644 --- a/sw/source/ui/shells/textsh1.cxx +++ b/sw/source/ui/shells/textsh1.cxx @@ -1303,7 +1303,6 @@ void SwTextShell::Execute(SfxRequest &rReq) } catch (const uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); } rReq.Ignore (); } diff --git a/sw/source/ui/vba/vbasystem.cxx b/sw/source/ui/vba/vbasystem.cxx index 9af1dbb4ad4e..94757da242fd 100644 --- a/sw/source/ui/vba/vbasystem.cxx +++ b/sw/source/ui/vba/vbasystem.cxx @@ -236,7 +236,6 @@ SwVbaSystem::setCursor( sal_Int32 _cursor ) throw (uno::RuntimeException) } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); } } -- cgit