diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-14 21:17:14 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-14 21:17:14 +0100 |
commit | acc2e9d7197e75aa435fe71095e39910076e14e5 (patch) | |
tree | 5d6520812571a3a690bbef1bf2553bf47d348db8 /basic | |
parent | d80740fc9b457887ae6857969fa5fb828e12d278 (diff) |
callcatcher: remove unused non-class level methods
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/classes/sbunoobj.cxx | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index cadaa0c43131..e655050e3606 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -434,28 +434,6 @@ template< class EXCEPTION > return implGetExceptionMsg( e, ::getCppuType( &e ).getTypeName() ); } -// Error-Message fuer WrappedTargetExceptions -::rtl::OUString implGetWrappedMsg( const WrappedTargetException& e ) -{ - ::rtl::OUString aMsg; - Any aWrappedAny = e.TargetException; - Type aExceptionType = aWrappedAny.getValueType(); - - // Really an Exception? - if( aExceptionType.getTypeClass() == TypeClass_EXCEPTION ) - { - Exception& e_ = *( (Exception*)aWrappedAny.getValue() ); - aMsg = implGetExceptionMsg( e_, ::rtl::OUString( aExceptionType.getTypeName() ) ); - } - // Otherwise use WrappedTargetException itself - else - { - aMsg = implGetExceptionMsg( e ); - } - - return aMsg; -} - void implHandleBasicErrorException( BasicErrorException& e ) { SbError nError = StarBASIC::GetSfxFromVBError( (sal_uInt16)e.ErrorCode ); |