diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-05-27 10:23:15 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-05-27 10:23:15 +0000 |
commit | 32adda5fc5187213ba0e981c9f586cea8501f15e (patch) | |
tree | 2aa64fee1060aa80fdd3e057f68c59a1a66bbcb1 /svtools | |
parent | 428e95963bee49d601b2436f8f31071a45a9bce0 (diff) |
INTEGRATION: CWS a10y01 (1.12.26); FILE MERGED
2003/05/22 11:05:16 oj 1.12.26.1: #109839# fix accessibility problems with treelistbox and iconchoisecontrol
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/ivctrl.cxx | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/svtools/source/contnr/ivctrl.cxx b/svtools/source/contnr/ivctrl.cxx index 57f73ba0c470..385ff3b72277 100644 --- a/svtools/source/contnr/ivctrl.cxx +++ b/svtools/source/contnr/ivctrl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ivctrl.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: vg $ $Date: 2003-04-24 15:48:01 $ + * last change: $Author: vg $ $Date: 2003-05-27 11:23:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -653,16 +653,10 @@ void SvtIconChoiceCtrl::SetNoSelection() _pImp->SetNoSelection(); } -void SvtIconChoiceCtrl::AddEventListener( const Link& rEventListener ) +void SvtIconChoiceCtrl::CallImplEventListeners(ULONG nEvent, void* pData) { - _pImp->AddEventListener( rEventListener ); + CallEventListeners(nEvent, pData); } - -void SvtIconChoiceCtrl::RemoveEventListener( const Link& rEventListener ) -{ - _pImp->RemoveEventListener( rEventListener ); -} - ::com::sun::star::uno::Reference< XAccessible > SvtIconChoiceCtrl::CreateAccessible() { Window* pParent = GetAccessibleParentWindow(); @@ -673,7 +667,10 @@ void SvtIconChoiceCtrl::RemoveEventListener( const Link& rEventListener ) { ::com::sun::star::uno::Reference< XAccessible > xAccParent = pParent->GetAccessible(); if ( xAccParent.is() ) + { + ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > xTemp(GetComponentInterface()); xAccessible = new svt::AccessibleIconChoiceCtrl( *this, xAccParent ); + } } return xAccessible; } |