summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-08-22 19:18:37 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-08-22 19:25:08 +0900
commit0c89907c8310db8c66a16efac05f0d749a4d1d15 (patch)
treeaf756c00550ae6371ae5b01130575d22e9d77299 /basic
parent1fd7816b7125f4a7a7c3015bd76fee590aff3a16 (diff)
Remove dead code
Change-Id: Ib5e794495b542ed96b5424d1aec38c4dd60ae182
Diffstat (limited to 'basic')
-rw-r--r--basic/source/sbx/sbxvalue.cxx30
1 files changed, 0 insertions, 30 deletions
diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx
index da2260873b73..89bb4e0006c2 100644
--- a/basic/source/sbx/sbxvalue.cxx
+++ b/basic/source/sbx/sbxvalue.cxx
@@ -27,36 +27,6 @@
TYPEINIT1(SbxValue,SbxBase)
-
-///////////////////////////// error handling //////////////////////////////
-// bring back ?? was ever in ?? currently ifdef out ?
-#ifdef _USED
-// STILL Reverse ENGINEERING!
-
-// The default handling sets the error code only.
-
-#ifndef WNT
-#if defined ( UNX )
-int matherr( struct exception* p )
-#else
-int matherr( struct _exception* p )
-#endif
-{
- switch( p->type )
- {
-#if defined ( UNX )
- case OVERFLOW: SbxBase::SetError( SbxERR_OVERFLOW ); break;
-#else
- case _OVERFLOW: SbxBase::SetError( SbxERR_OVERFLOW ); break;
-#endif
- default: SbxBase::SetError( SbxERR_NOTIMP ); break;
- }
- return sal_True;
-}
-#endif
-
-#endif // _USED
-
///////////////////////////// constructors //////////////////////////////
SbxValue::SbxValue() : SbxBase()