diff options
author | Michael Lefevre <lefevre00@yahoo.fr> | 2011-02-28 23:21:09 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-01 14:53:43 +0100 |
commit | 241cb3e215e5dc6410edb5a86e738114012287cc (patch) | |
tree | 5c8458ed2cbdf86d386d7737912e3eb9856bb798 /accessibility | |
parent | a0924c8cf0cf2651339554b47fc357c97193fcee (diff) |
Remove dead code
ACCESSIBLE_EVENT_NOTIFICATION_ENABLED was never define. So the #ifdef #endif "brackets" could go away.
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/inc/accessibility/extended/accessibleiconchoicectrlentry.hxx | 16 | ||||
-rw-r--r-- | accessibility/source/extended/accessibleiconchoicectrlentry.cxx | 15 |
2 files changed, 0 insertions, 31 deletions
diff --git a/accessibility/inc/accessibility/extended/accessibleiconchoicectrlentry.hxx b/accessibility/inc/accessibility/extended/accessibleiconchoicectrlentry.hxx index 09af3e2466ca..f1a26269f824 100644 --- a/accessibility/inc/accessibility/extended/accessibleiconchoicectrlentry.hxx +++ b/accessibility/inc/accessibility/extended/accessibleiconchoicectrlentry.hxx @@ -83,22 +83,6 @@ namespace accessibility ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > m_xParent; private: - #ifdef ACCESSIBLE_EVENT_NOTIFICATION_ENABLED - // (the following method is unused currently. If you need it, simply remove the #ifdef thing here and - // in the cxx) - /** notifies all listeners that this object has changed - @param _nEventId - is the event id - @param _aOldValue - is the old value - @param _aNewValue - is the new value - */ - void NotifyAccessibleEvent( sal_Int16 _nEventId, - const ::com::sun::star::uno::Any& _aOldValue, - const ::com::sun::star::uno::Any& _aNewValue ); - #endif - Rectangle GetBoundingBox_Impl() const; Rectangle GetBoundingBoxOnScreen_Impl() const; sal_Bool IsAlive_Impl() const; diff --git a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx index 2a4b90affd54..2e91908ce36a 100644 --- a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx +++ b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx @@ -122,21 +122,6 @@ throw(RuntimeException) dispose(); } } - #ifdef ACCESSIBLE_EVENT_NOTIFICATION_ENABLED - // (the following method is unused currently. If you need it, simply remove the #ifdef thing here and - // in the hxx) - // ----------------------------------------------------------------------------- - void AccessibleIconChoiceCtrlEntry::NotifyAccessibleEvent( sal_Int16 _nEventId, - const ::com::sun::star::uno::Any& _aOldValue, - const ::com::sun::star::uno::Any& _aNewValue ) - { - Reference< uno::XInterface > xSource( *this ); - AccessibleEventObject aEventObj( xSource, _nEventId, _aNewValue, _aOldValue ); - - if (m_nClientId) - comphelper::AccessibleEventNotifier::addEvent( m_nClientId, aEventObj ); - } - #endif // ----------------------------------------------------------------------------- Rectangle AccessibleIconChoiceCtrlEntry::GetBoundingBox_Impl() const { |