summaryrefslogtreecommitdiffstats
path: root/basic/source/classes
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-14 21:17:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-14 21:17:14 +0100
commitacc2e9d7197e75aa435fe71095e39910076e14e5 (patch)
tree5d6520812571a3a690bbef1bf2553bf47d348db8 /basic/source/classes
parentcallcatcher: remove unused non-class level methods (diff)
downloadcore-acc2e9d7197e75aa435fe71095e39910076e14e5.tar.gz
core-acc2e9d7197e75aa435fe71095e39910076e14e5.zip
callcatcher: remove unused non-class level methods
Diffstat (limited to 'basic/source/classes')
-rw-r--r--basic/source/classes/sbunoobj.cxx22
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 );