summaryrefslogtreecommitdiff
path: root/accessibility/source/standard/vclxaccessibletoolboxitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/source/standard/vclxaccessibletoolboxitem.cxx')
-rw-r--r--accessibility/source/standard/vclxaccessibletoolboxitem.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/accessibility/source/standard/vclxaccessibletoolboxitem.cxx b/accessibility/source/standard/vclxaccessibletoolboxitem.cxx
index 05807cc4317d..d6726a6c117d 100644
--- a/accessibility/source/standard/vclxaccessibletoolboxitem.cxx
+++ b/accessibility/source/standard/vclxaccessibletoolboxitem.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -73,12 +73,12 @@ VCLXAccessibleToolBoxItem::VCLXAccessibleToolBoxItem( ToolBox* _pToolBox, sal_In
AccessibleTextHelper_BASE( new VCLExternalSolarLock() ),
- m_pToolBox ( _pToolBox ),
+ m_pToolBox ( _pToolBox ),
m_nIndexInParent( _nPos ),
- m_nRole ( AccessibleRole::PUSH_BUTTON ),
- m_nItemId ( 0 ),
- m_bHasFocus ( sal_False ),
- m_bIsChecked ( sal_False ),
+ m_nRole ( AccessibleRole::PUSH_BUTTON ),
+ m_nItemId ( 0 ),
+ m_bHasFocus ( sal_False ),
+ m_bIsChecked ( sal_False ),
m_bIndeterminate( false )
{
@@ -98,12 +98,12 @@ VCLXAccessibleToolBoxItem::VCLXAccessibleToolBoxItem( ToolBox* _pToolBox, sal_In
{
ToolBoxItemBits nBits = m_pToolBox->GetItemBits( m_nItemId );
if (( nBits & TIB_DROPDOWN ) == TIB_DROPDOWN)
- m_nRole = AccessibleRole::BUTTON_DROPDOWN;
+ m_nRole = AccessibleRole::BUTTON_DROPDOWN;
else if (( ( nBits & TIB_CHECKABLE ) == TIB_CHECKABLE ) ||
( ( nBits & TIB_AUTOCHECK ) == TIB_AUTOCHECK ) )
- m_nRole = AccessibleRole::TOGGLE_BUTTON;
+ m_nRole = AccessibleRole::TOGGLE_BUTTON;
else if ( m_pToolBox->GetItemWindow( m_nItemId ) )
- m_nRole = AccessibleRole::PANEL;
+ m_nRole = AccessibleRole::PANEL;
break;
}
@@ -541,11 +541,11 @@ Reference< XAccessible > SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleAtPoin
void SAL_CALL VCLXAccessibleToolBoxItem::grabFocus( ) throw (RuntimeException)
{
Reference< XAccessible > xParent(getAccessibleParent());
-
+
if( xParent.is() )
{
Reference< XAccessibleSelection > rxAccessibleSelection(xParent->getAccessibleContext(), UNO_QUERY);
-
+
if ( rxAccessibleSelection.is() )
{
rxAccessibleSelection -> selectAccessibleChild ( getAccessibleIndexInParent() );
@@ -577,7 +577,7 @@ sal_Int32 SAL_CALL VCLXAccessibleToolBoxItem::getBackground( ) throw (RuntimeEx
// -----------------------------------------------------------------------------
// XAccessibleExtendedComponent
// -----------------------------------------------------------------------------
-Reference< awt::XFont > SAL_CALL VCLXAccessibleToolBoxItem::getFont( ) throw (RuntimeException)
+Reference< awt::XFont > SAL_CALL VCLXAccessibleToolBoxItem::getFont( ) throw (RuntimeException)
{
return uno::Reference< awt::XFont >();
}