diff options
Diffstat (limited to 'dbaccess/source/ui/browser/brwctrlr.cxx')
-rw-r--r-- | dbaccess/source/ui/browser/brwctrlr.cxx | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/dbaccess/source/ui/browser/brwctrlr.cxx b/dbaccess/source/ui/browser/brwctrlr.cxx index cae373c54c82..fd19148788c8 100644 --- a/dbaccess/source/ui/browser/brwctrlr.cxx +++ b/dbaccess/source/ui/browser/brwctrlr.cxx @@ -600,7 +600,16 @@ void SbaXDataBrowserController::onStartLoading( const Reference< XLoadable >& _r Reference< XWarningsSupplier > xWarnings( _rxLoadable, UNO_QUERY ); if ( xWarnings.is() ) - xWarnings->clearWarnings(); + { + try + { + xWarnings->clearWarnings(); + } + catch(const SQLException& e) + { + DBG_UNHANDLED_EXCEPTION(); + } + } } void SbaXDataBrowserController::impl_checkForCannotSelectUnfiltered( const SQLExceptionInfo& _rError ) @@ -666,7 +675,7 @@ bool SbaXDataBrowserController::reloadForm( const Reference< XLoadable >& _rxLoa } catch(const SQLException& e) { - (void)e; + DBG_UNHANDLED_EXCEPTION(); } } |