diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-02-14 14:30:43 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-02-14 17:45:26 +0100 |
commit | 72e04abea5b881f29c63bc4beaf48bddabe39a15 (patch) | |
tree | 6e98f7a3adac9247f1511bbc4b301bc3c8372192 /basic | |
parent | 104613ffb7e94a421994977ebcb85d142ad64a9f (diff) |
remove sunpro 5.0 handling
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/sbx/sbxvalue.cxx | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx index f4aab28c70c6..be3611921ac1 100644 --- a/basic/source/sbx/sbxvalue.cxx +++ b/basic/source/sbx/sbxvalue.cxx @@ -205,32 +205,9 @@ SbxValue& SbxValue::operator=( const SbxValue& r ) SbxValue::~SbxValue() { -#ifndef C50 Broadcast( SBX_HINT_DYING ); SetFlag( SBX_WRITE ); SbxValue::Clear(); -#else - // Provisional fix for the Solaris 5.0 compiler bbug - // at using virtual inheritance. Avoid virtual calls - // in the destructor. Instead of calling clear() - // de-allocate posible object references direct. - if( aData.eType == SbxOBJECT ) - { - if( aData.pObj && aData.pObj != this ) - { - HACK(nicht bei Parent-Prop - sonst CyclicRef) - SbxVariable *pThisVar = PTR_CAST(SbxVariable, this); - sal_Bool bParentProp = pThisVar && 5345 == - ( (sal_Int16) ( pThisVar->GetUserData() & 0xFFFF ) ); - if ( !bParentProp ) - aData.pObj->ReleaseRef(); - } - } - else if( aData.eType == SbxDECIMAL ) - { - releaseDecimalPtr( aData.pDecimal ); - } -#endif } void SbxValue::Clear() |