summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/AccessibleContextBase.hxx
diff options
context:
space:
mode:
authorSascha Ballach <sab@openoffice.org>2002-05-24 14:14:33 +0000
committerSascha Ballach <sab@openoffice.org>2002-05-24 14:14:33 +0000
commit4240464bed7e708202aa11c481e63305ed2e22cc (patch)
treec08d60ebf94ef925c6f0964b389a7d9585bba411 /sc/source/ui/inc/AccessibleContextBase.hxx
parent05f1275964f5f4e4effd8203ddd47d487daa6de6 (diff)
#95584#; make some methods const methods; remove FocusListener
Diffstat (limited to 'sc/source/ui/inc/AccessibleContextBase.hxx')
-rw-r--r--sc/source/ui/inc/AccessibleContextBase.hxx31
1 files changed, 7 insertions, 24 deletions
diff --git a/sc/source/ui/inc/AccessibleContextBase.hxx b/sc/source/ui/inc/AccessibleContextBase.hxx
index 85e46606fe25..78f0477c6a06 100644
--- a/sc/source/ui/inc/AccessibleContextBase.hxx
+++ b/sc/source/ui/inc/AccessibleContextBase.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: AccessibleContextBase.hxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: sab $ $Date: 2002-05-23 13:46:09 $
+ * last change: $Author: sab $ $Date: 2002-05-24 15:13:41 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -97,9 +97,6 @@
#ifndef _COM_SUN_STAR_LANG_INDEXOUTOFBOUNDSEXCEPTION_HPP_
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#endif
-#ifndef _COM_SUN_STAR_AWT_XFOCUSLISTENER_HPP_
-#include <com/sun/star/awt/XFocusListener.hpp>
-#endif
#ifndef _VOS_MUTEX_HXX_
#include <vos/mutex.hxx>
#endif
@@ -204,17 +201,6 @@ public:
virtual sal_Bool SAL_CALL isVisible( )
throw (::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL isFocusTraversable( )
- throw (::com::sun::star::uno::RuntimeException);
-
- virtual void SAL_CALL addFocusListener(
- const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFocusListener >& xListener )
- throw (::com::sun::star::uno::RuntimeException);
-
- virtual void SAL_CALL removeFocusListener(
- const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFocusListener >& xListener )
- throw (::com::sun::star::uno::RuntimeException);
-
virtual void SAL_CALL grabFocus( )
throw (::com::sun::star::uno::RuntimeException);
@@ -353,11 +339,11 @@ protected:
throw (::com::sun::star::uno::RuntimeException);
/// Return the object's current bounding box relative to the desktop.
- virtual Rectangle GetBoundingBoxOnScreen(void)
+ virtual Rectangle GetBoundingBoxOnScreen(void) const
throw (::com::sun::star::uno::RuntimeException);
/// Return the object's current bounding box relative to the parent object.
- virtual Rectangle GetBoundingBox(void)
+ virtual Rectangle GetBoundingBox(void) const
throw (::com::sun::star::uno::RuntimeException);
public:
@@ -370,12 +356,12 @@ protected:
void CommitDefunc() const;
/// Calls all FocusListener to tell they that the focus is gained.
- void CommitFocusGained(const com::sun::star::awt::FocusEvent& rFocusEvent) const;
+ void CommitFocusGained() const;
/// Calls all FocusListener to tell they that the focus is lost.
- void CommitFocusLost(const com::sun::star::awt::FocusEvent& rFocusEvent) const;
+ void CommitFocusLost() const;
- sal_Bool IsDefunc() { return rBHelper.bDisposed; }
+ sal_Bool IsDefunc() const { return rBHelper.bDisposed; }
private:
/// Reference to the parent object.
@@ -396,9 +382,6 @@ private:
/// List of property change listeners.
cppu::OInterfaceContainerHelper* mpEventListeners;
- /// List of focus listeners.
- cppu::OInterfaceContainerHelper* mpFocusListeners;
-
/** This is the role of this object.
*/
sal_Int16 maRole;