diff options
author | Sascha Ballach <sab@openoffice.org> | 2002-05-31 06:59:07 +0000 |
---|---|---|
committer | Sascha Ballach <sab@openoffice.org> | 2002-05-31 06:59:07 +0000 |
commit | 9bb95e6de8bb08c131d23b4ce74ea9b02edbb8d4 (patch) | |
tree | 5b11ea060aac30d39967534d332e3d1b20099f5f /sc | |
parent | facb19b92486afa76f8f79c1abfbad59017922c5 (diff) |
#95584#; add IsObjectValid method which throws a lang::DiposedException if the object is not valid
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/inc/AccessibleContextBase.hxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sc/source/ui/inc/AccessibleContextBase.hxx b/sc/source/ui/inc/AccessibleContextBase.hxx index 78f0477c6a06..fc72bfb728ae 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.12 $ + * $Revision: 1.13 $ * - * last change: $Author: sab $ $Date: 2002-05-24 15:13:41 $ + * last change: $Author: sab $ $Date: 2002-05-31 07:59:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -78,6 +78,9 @@ #ifndef _DRAFTS_COM_SUN_STAR_ACCESSIBILITY_IllegalAccessibleComponentStateException_HPP_ #include <drafts/com/sun/star/accessibility/IllegalAccessibleComponentStateException.hpp> #endif +#ifndef _COM_SUN_STAR_LANG_DISPOSEDEXCEPTION_HPP_ +#include <com/sun/star/lang/DisposedException.hpp> +#endif #ifndef _COM_SUN_STAR_UNO_REFERENCE_HXX_ #include <com/sun/star/uno/Reference.hxx> @@ -363,6 +366,9 @@ protected: sal_Bool IsDefunc() const { return rBHelper.bDisposed; } + virtual void IsObjectValid() const + throw (::com::sun::star::lang::DisposedException); + private: /// Reference to the parent object. ::com::sun::star::uno::Reference< |