diff options
author | Frank Schönheit <fs@openoffice.org> | 2002-06-12 12:16:58 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2002-06-12 12:16:58 +0000 |
commit | a940688db832106a15e8b1d7e20955652991b496 (patch) | |
tree | fea5658a7aae3839aa6a1dc32bada8d3fd79926b /toolkit/source/controls/accessiblecontrolcontext.cxx | |
parent | d952dc13be6c57f573f426009b1aba2a272ef4cd (diff) |
#100126# exception thrown in wrong situation
Diffstat (limited to 'toolkit/source/controls/accessiblecontrolcontext.cxx')
-rw-r--r-- | toolkit/source/controls/accessiblecontrolcontext.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/toolkit/source/controls/accessiblecontrolcontext.cxx b/toolkit/source/controls/accessiblecontrolcontext.cxx index 7a97097ad64a..cae6092fd530 100644 --- a/toolkit/source/controls/accessiblecontrolcontext.cxx +++ b/toolkit/source/controls/accessiblecontrolcontext.cxx @@ -2,9 +2,9 @@ * * $RCSfile: accessiblecontrolcontext.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: tbe $ $Date: 2002-05-17 15:29:11 $ + * last change: $Author: fs $ $Date: 2002-06-12 13:16:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -132,7 +132,7 @@ namespace toolkit if ( xControl.is() ) m_xControlModel = m_xControlModel.query( xControl->getModel() ); OSL_ENSURE( m_xControlModel.is(), "OAccessibleControlContext::Init: invalid creator (no control, or control without model!" ); - if ( m_xControlModel.is() ) + if ( !m_xControlModel.is() ) throw DisposedException(); // caught by the caller (the create method) // start listening at the model @@ -370,6 +370,9 @@ namespace toolkit /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.2 2002/05/17 15:29:11 tbe + * #97222# removed isShowing, isVisible, isFocusTraversable, addFocusListener, removeFocusListener + * * Revision 1.1 2002/04/26 14:31:31 fs * initial checkin - fallback AccessibleContext for uno controls * |