diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-07-28 15:50:56 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-07-28 16:14:58 +0200 |
commit | 5bdc7103befd92313085824f51b5a8559f464e9a (patch) | |
tree | 32d0da00e07ce2f8d3f803fe9cf333448fd633d5 /svx | |
parent | 698315531414b223b35d8507fdf2f56dbcf6bc4c (diff) |
More details in debug output
In particular, give type and message of exception
when unexpectedly caught.
Also miscellaneous other details.
Change-Id: I87d71028dbc902e1770fee4c3643c85e75b7646d
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/fmcomp/gridcell.cxx | 4 | ||||
-rw-r--r-- | svx/source/form/fmobjfac.cxx | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx index 91aebe7d1031..c81d1e02bf01 100644 --- a/svx/source/fmcomp/gridcell.cxx +++ b/svx/source/fmcomp/gridcell.cxx @@ -121,6 +121,7 @@ namespace catch( const Exception& ) { OSL_FAIL( "getModelLineEndSetting: caught an exception!" ); + DBG_UNHANDLED_EXCEPTION(); } return eFormat; } @@ -587,6 +588,7 @@ DbCellControl::DbCellControl( DbGridColumn& _rColumn, sal_Bool /*_bText*/ ) catch( const Exception& ) { OSL_FAIL( "DbCellControl::doPropertyListening: caught an exception!" ); + DBG_UNHANDLED_EXCEPTION(); } } } @@ -611,6 +613,7 @@ void DbCellControl::implDoPropertyListening(const OUString& _rPropertyName, sal_ catch( const Exception& ) { OSL_FAIL( "DbCellControl::doPropertyListening: caught an exception!" ); + DBG_UNHANDLED_EXCEPTION(); } } @@ -1121,6 +1124,7 @@ void DbTextField::Init( Window& rParent, const Reference< XRowSet >& xCursor) catch( const Exception& ) { OSL_FAIL( "DbTextField::Init: caught an exception while determining the multi-line capabilities!" ); + DBG_UNHANDLED_EXCEPTION(); } m_bIsSimpleEdit = !bIsMultiLine; diff --git a/svx/source/form/fmobjfac.cxx b/svx/source/form/fmobjfac.cxx index 39be34a73722..1f9a1088bea8 100644 --- a/svx/source/form/fmobjfac.cxx +++ b/svx/source/form/fmobjfac.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <tools/diagnose_ex.h> #include <comphelper/stl_types.hxx> #include <svx/svdobj.hxx> #include "svx/fmtools.hxx" @@ -119,6 +120,7 @@ namespace catch( const Exception& ) { OSL_FAIL( "lcl_initProperty: caught an exception!" ); + DBG_UNHANDLED_EXCEPTION(); } } } |