diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-18 08:57:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-19 07:49:33 +0100 |
commit | be359b156b2be7624121a2f2ec5bc6c2d6a195a8 (patch) | |
tree | cd34dff8c2c29abe499f4bffb1b454a70d12dd67 /basic/source | |
parent | dbb50f3fe9692dc0ccd7225158fad353e7eab0b5 (diff) |
loplugin:unusedenumconstants
Change-Id: I9dc4b369872a7c6c076ae9be1dcdf2f8385af8a7
Reviewed-on: https://gerrit.libreoffice.org/46684
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/source')
-rw-r--r-- | basic/source/sbx/sbxobj.cxx | 3 | ||||
-rw-r--r-- | basic/source/sbx/sbxvalue.cxx | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/basic/source/sbx/sbxobj.cxx b/basic/source/sbx/sbxobj.cxx index 56bec717b8aa..5fa4023f9a23 100644 --- a/basic/source/sbx/sbxobj.cxx +++ b/basic/source/sbx/sbxobj.cxx @@ -414,7 +414,6 @@ SbxVariable* SbxObject::Make( const OUString& rName, SbxClassType ct, SbxDataTyp SetModified( true ); // The object listen always StartListening( pVar->GetBroadcaster(), true ); - Broadcast( SfxHintId::BasicObjectChanged ); return pVar; } @@ -458,7 +457,6 @@ void SbxObject::Insert( SbxVariable* pVar ) pVar->SetParent( this ); } SetModified( true ); - Broadcast( SfxHintId::BasicObjectChanged ); #ifdef DBG_UTIL static const char* pCls[] = { "DontCare","Array","Value","Variable","Method","Property","Object" }; @@ -558,7 +556,6 @@ void SbxObject::Remove( SbxVariable* pVar ) pVar_->SetParent( nullptr ); } SetModified( true ); - Broadcast( SfxHintId::BasicObjectChanged ); } } diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx index 39df414fbdcd..06fd0c30192a 100644 --- a/basic/source/sbx/sbxvalue.cxx +++ b/basic/source/sbx/sbxvalue.cxx @@ -133,7 +133,6 @@ SbxValue& SbxValue::operator=( const SbxValue& r ) SbxValue::~SbxValue() { - Broadcast( SfxHintId::BasicDying ); SetFlag( SbxFlagBits::Write ); SbxValue::Clear(); } @@ -817,7 +816,6 @@ bool SbxValue::Convert( SbxDataType eTo ) Put( aNew ); SetModified( true ); } - Broadcast( SfxHintId::BasicConverted ); return true; } else |