diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2008-01-14 13:59:53 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2008-01-14 13:59:53 +0000 |
commit | a5f26514bd895b02ea57f6f6657255b8984ae47d (patch) | |
tree | f6056eaaca697ca1642b8d780ab757df985b5346 /extensions/source/propctrlr/propcontroller.cxx | |
parent | bef56b13dcd7f86b682dfadfcd6e662f21402e00 (diff) |
INTEGRATION: CWS wae4extensions (1.38.44); FILE MERGED
2007/09/27 07:18:25 fs 1.38.44.1: #i81612# warning-free code
Diffstat (limited to 'extensions/source/propctrlr/propcontroller.cxx')
-rw-r--r-- | extensions/source/propctrlr/propcontroller.cxx | 30 |
1 files changed, 6 insertions, 24 deletions
diff --git a/extensions/source/propctrlr/propcontroller.cxx b/extensions/source/propctrlr/propcontroller.cxx index bdfa3f14093d..95930ed2349c 100644 --- a/extensions/source/propctrlr/propcontroller.cxx +++ b/extensions/source/propctrlr/propcontroller.cxx @@ -4,9 +4,9 @@ * * $RCSfile: propcontroller.cxx,v $ * - * $Revision: 1.38 $ + * $Revision: 1.39 $ * - * last change: $Author: rt $ $Date: 2007-07-06 08:52:26 $ + * last change: $Author: ihi $ $Date: 2008-01-14 14:59:53 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -917,16 +917,9 @@ namespace pcr else xComp->removeEventListener( static_cast< XPropertyChangeListener* >( this ) ); } - catch( const Exception& e ) + catch( const Exception& ) { - #if OSL_DEBUG_LEVEL > 0 - ::rtl::OString sMessage( "OPropertyBrowserController::impl_toggleInspecteeListening_nothrow: caught an exception!\n" ); - sMessage += "message:\n"; - sMessage += ::rtl::OString( e.Message.getStr(), e.Message.getLength(), osl_getThreadTextEncoding() ); - OSL_ENSURE( false, sMessage ); - #else - e; // make compiler happy - #endif + DBG_UNHANDLED_EXCEPTION(); } } } @@ -1378,20 +1371,9 @@ namespace pcr m_sPageSelection = m_sLastValidPageSelection; selectPageFromViewData(); } - catch( const Exception& e ) + catch( const Exception& ) { - #if OSL_DEBUG_LEVEL > 0 - Any caught( ::cppu::getCaughtException() ); - - ::rtl::OString sMessage( "OPropertyBrowserController::UpdateUI: caught an exception!" ); - sMessage += "\ntype: "; - sMessage += ::rtl::OString( caught.getValueTypeName().getStr(), caught.getValueTypeName().getLength(), osl_getThreadTextEncoding() ); - sMessage += "\nmessage: "; - sMessage += ::rtl::OString( e.Message.getStr(), e.Message.getLength(), osl_getThreadTextEncoding() ); - OSL_ENSURE( false, sMessage ); - #else - e; // make compiler happy - #endif + DBG_UNHANDLED_EXCEPTION(); } } |