diff options
Diffstat (limited to 'basic/source/sbx/sbxobj.cxx')
-rw-r--r-- | basic/source/sbx/sbxobj.cxx | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/basic/source/sbx/sbxobj.cxx b/basic/source/sbx/sbxobj.cxx index 10d24262569d..7a30bf8b0a03 100644 --- a/basic/source/sbx/sbxobj.cxx +++ b/basic/source/sbx/sbxobj.cxx @@ -323,21 +323,6 @@ void SbxObject::SetDfltProperty( const XubString& rName ) SetModified( sal_True ); } -void SbxObject::SetDfltProperty( SbxProperty* p ) -{ - if( p ) - { - sal_uInt16 n; - SbxArray* pArray = FindVar( p, n ); - pArray->Put( p, n ); - if( p->GetParent() != this ) - p->SetParent( this ); - Broadcast( SBX_HINT_OBJECTCHANGED ); - } - pDfltProp = p; - SetModified( sal_True ); -} - // Search of a already available variable. If she was located, // the index will be set, elsewise will be delivered the Count of the Array. // In any case it will be delivered the correct Array. @@ -904,15 +889,6 @@ SbxMethod::~SbxMethod() { } -sal_Bool SbxMethod::Run( SbxValues* pValues ) -{ - SbxValues aRes; - if( !pValues ) - pValues = &aRes; - pValues->eType = SbxVARIANT; - return Get( *pValues ); -} - SbxClassType SbxMethod::GetClass() const { return SbxCLASS_METHOD; |