summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/sb.cxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx
index 745f4b30af7f..60d2b02d7062 100644
--- a/basic/source/classes/sb.cxx
+++ b/basic/source/classes/sb.cxx
@@ -1014,21 +1014,6 @@ StarBASIC::~StarBASIC()
clearUnoMethodsForBasic( this );
}
-// Override new() operator, so that everyone can create a new instance
-void* StarBASIC::operator new( size_t n )
-{
- if( n < sizeof( StarBASIC ) )
- {
- n = sizeof( StarBASIC );
- }
- return ::operator new( n );
-}
-
-void StarBASIC::operator delete( void* p )
-{
- ::operator delete( p );
-}
-
void StarBASIC::implClearDependingVarsOnDelete( StarBASIC* pDeletedBasic )
{
if( this != pDeletedBasic )