diff options
author | Thomas Benisch <tbe@openoffice.org> | 2002-11-06 14:17:54 +0000 |
---|---|---|
committer | Thomas Benisch <tbe@openoffice.org> | 2002-11-06 14:17:54 +0000 |
commit | 729c5565690ed8d58af3c287517c4e1c33bd43e3 (patch) | |
tree | 283ef05c56dea513271c0867675fc216b6afb4e3 /toolkit/source/awt | |
parent | 13f3698953a2f3dea4c4ff75e89a0e9854b61a56 (diff) |
#104542# Reorganization of XAccessibleComponent and XAccessibleExtendedComponent
Diffstat (limited to 'toolkit/source/awt')
-rw-r--r-- | toolkit/source/awt/vclxaccessiblecomponent.cxx | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/toolkit/source/awt/vclxaccessiblecomponent.cxx b/toolkit/source/awt/vclxaccessiblecomponent.cxx index 569452d5f395..4f118af0f1cc 100644 --- a/toolkit/source/awt/vclxaccessiblecomponent.cxx +++ b/toolkit/source/awt/vclxaccessiblecomponent.cxx @@ -2,9 +2,9 @@ * * $RCSfile: vclxaccessiblecomponent.cxx,v $ * - * $Revision: 1.35 $ + * $Revision: 1.36 $ * - * last change: $Author: tbe $ $Date: 2002-11-04 16:23:31 $ + * last change: $Author: tbe $ $Date: 2002-11-06 15:17:54 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -834,8 +834,6 @@ uno::Any VCLXAccessibleComponent::getAccessibleKeyBinding() throw (uno::RuntimeE return aRet; } -// XAccessibleExtendedComponent - sal_Int32 SAL_CALL VCLXAccessibleComponent::getForeground( ) throw (uno::RuntimeException) { OExternalLockGuard aGuard( this ); @@ -877,6 +875,8 @@ sal_Int32 SAL_CALL VCLXAccessibleComponent::getBackground( ) throw (uno::Runtim return nColor; } +// XAccessibleExtendedComponent + uno::Reference< awt::XFont > SAL_CALL VCLXAccessibleComponent::getFont( ) throw (uno::RuntimeException) { OExternalLockGuard aGuard( this ); @@ -902,22 +902,6 @@ uno::Reference< awt::XFont > SAL_CALL VCLXAccessibleComponent::getFont( ) throw return xFont; } -awt::FontDescriptor SAL_CALL VCLXAccessibleComponent::getFontMetrics( const uno::Reference< awt::XFont >& xFont ) throw (uno::RuntimeException) -{ - return xFont->getFontDescriptor(); -} - -sal_Bool SAL_CALL VCLXAccessibleComponent::isEnabled( ) throw (uno::RuntimeException) -{ - OExternalLockGuard aGuard( this ); - - sal_Bool bEnabled = sal_False; - if ( GetWindow() ) - bEnabled = GetWindow()->IsEnabled(); - - return bEnabled; -} - ::rtl::OUString SAL_CALL VCLXAccessibleComponent::getTitledBorderText( ) throw (uno::RuntimeException) { OExternalLockGuard aGuard( this ); |