diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-08-22 19:18:37 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-08-22 19:25:08 +0900 |
commit | 0c89907c8310db8c66a16efac05f0d749a4d1d15 (patch) | |
tree | af756c00550ae6371ae5b01130575d22e9d77299 /basic | |
parent | Remove unused function (diff) | |
download | core-0c89907c8310db8c66a16efac05f0d749a4d1d15.tar.gz core-0c89907c8310db8c66a16efac05f0d749a4d1d15.zip |
Remove dead code
Change-Id: Ib5e794495b542ed96b5424d1aec38c4dd60ae182
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/sbx/sbxvalue.cxx | 30 |
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() |