diff options
Diffstat (limited to 'svtools/source/brwbox/editbrowsebox2.cxx')
-rw-r--r-- | svtools/source/brwbox/editbrowsebox2.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/svtools/source/brwbox/editbrowsebox2.cxx b/svtools/source/brwbox/editbrowsebox2.cxx index 4add5d5a9094..cf07dbf2499d 100644 --- a/svtools/source/brwbox/editbrowsebox2.cxx +++ b/svtools/source/brwbox/editbrowsebox2.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 @@ -41,7 +41,7 @@ namespace svt using namespace com::sun::star::accessibility; using namespace com::sun::star::uno; using namespace ::com::sun::star::accessibility::AccessibleEventId; - + // ----------------------------------------------------------------------------- Reference< XAccessible > EditBrowseBox::CreateAccessibleCheckBoxCell(long _nRow, USHORT _nColumnPos,const TriState& eState,sal_Bool _bEnabled) { @@ -89,10 +89,10 @@ void EditBrowseBox::implCreateActiveAccessible( ) if ( xMy.is() && xCont.is() ) { m_aImpl->m_xActiveCell = getAccessibleFactory().createEditBrowseBoxTableCellAccess( - xMy, // parent accessible - xCont, // control accessible - VCLUnoHelper::GetInterface( &aController->GetWindow() ), // focus window (for notifications) - *this, // the browse box + xMy, // parent accessible + xCont, // control accessible + VCLUnoHelper::GetInterface( &aController->GetWindow() ), // focus window (for notifications) + *this, // the browse box GetCurRow(), GetColumnPos( GetCurColumnId() ) ); @@ -159,8 +159,8 @@ void EditBrowseBox::DetermineFocus( const sal_uInt16 _nGetFocusFlags ) if ( GetBrowserFlags( ) & EBBF_SMART_TAB_TRAVEL ) { - if ( bHasFocus // we got the focus - && ( _nGetFocusFlags & GETFOCUS_TAB ) // using the TAB key + if ( bHasFocus // we got the focus + && ( _nGetFocusFlags & GETFOCUS_TAB ) // using the TAB key ) { long nRows = GetRowCount(); @@ -175,7 +175,7 @@ void EditBrowseBox::DetermineFocus( const sal_uInt16 _nGetFocusFlags ) GoToRowColumnId( 0, GetColumnId( 0 ) ); } else - { // the first column is the handle column -> not focussable + { // the first column is the handle column -> not focussable if ( nCols > 1 ) GoToRowColumnId( 0, GetColumnId( 1 ) ); } |