From 5bdc7103befd92313085824f51b5a8559f464e9a Mon Sep 17 00:00:00 2001 From: Lionel Elie Mamane Date: Sun, 28 Jul 2013 15:50:56 +0200 Subject: More details in debug output In particular, give type and message of exception when unexpectedly caught. Also miscellaneous other details. Change-Id: I87d71028dbc902e1770fee4c3643c85e75b7646d --- svx/source/fmcomp/gridcell.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'svx/source/fmcomp') 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; -- cgit