diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 19:56:39 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 20:24:39 +0100 |
commit | ead15254172d7d1f9f838cf21b4e5c246bfc7ca3 (patch) | |
tree | 7e4d7621d602b76b133f04c2cad8572ab778dada /connectivity/source/drivers/postgresql/pq_xcontainer.cxx | |
parent | 1b574435a591695fac694f7129631312b05ef06e (diff) |
bool improvements
Change-Id: If35c939adede6a912dee14714a7ceeab84ac977e
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_xcontainer.cxx')
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_xcontainer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_xcontainer.cxx b/connectivity/source/drivers/postgresql/pq_xcontainer.cxx index 3ff17784aa4b..6843d97c06e1 100644 --- a/connectivity/source/drivers/postgresql/pq_xcontainer.cxx +++ b/connectivity/source/drivers/postgresql/pq_xcontainer.cxx @@ -465,13 +465,13 @@ void Container::fire( const EventBroadcastHelper &helper ) } catch ( com::sun::star::uno::RuntimeException & ) { - OSL_ENSURE( 0, "exception catched" ); + OSL_ENSURE( false, "exception catched" ); // loose coupling, a runtime exception shall not break anything // TODO: log away as warning ! } catch( com::sun::star::uno::Exception & ) { - OSL_ENSURE( 0, "exception from listener flying through" ); + OSL_ENSURE( false, "exception from listener flying through" ); throw; } } |