diff options
Diffstat (limited to 'accessibility/source/extended/accessibleiconchoicectrlentry.cxx')
-rw-r--r-- | accessibility/source/extended/accessibleiconchoicectrlentry.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx index 2a4b90affd54..6a613dede454 100644 --- a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx +++ b/accessibility/source/extended/accessibleiconchoicectrlentry.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 @@ -49,8 +49,8 @@ #include <comphelper/accessibleeventnotifier.hxx> #define ACCESSIBLE_ACTION_COUNT 1 -#define AID_EXPAND 0 -#define AID_COLLAPSE 1 +#define AID_EXPAND 0 +#define AID_COLLAPSE 1 namespace { @@ -82,12 +82,12 @@ namespace accessibility ULONG _nPos, const Reference< XAccessible >& _xParent ) : - AccessibleIconChoiceCtrlEntry_BASE ( m_aMutex ), + AccessibleIconChoiceCtrlEntry_BASE ( m_aMutex ), - m_pIconCtrl ( &_rIconCtrl ), - m_nIndex ( _nPos ), + m_pIconCtrl ( &_rIconCtrl ), + m_nIndex ( _nPos ), m_nClientId ( 0 ), - m_xParent ( _xParent ) + m_xParent ( _xParent ) { osl_incrementInterlockedCount( &m_refCount ); @@ -443,7 +443,7 @@ throw(RuntimeException) // do nothing, because no focus for each item } // ----------------------------------------------------------------------------- - sal_Int32 AccessibleIconChoiceCtrlEntry::getForeground( ) throw (RuntimeException) + sal_Int32 AccessibleIconChoiceCtrlEntry::getForeground( ) throw (RuntimeException) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -535,7 +535,7 @@ throw(RuntimeException) ::osl::MutexGuard aGuard( m_aMutex ); String sText = getText(); - if ( ( 0 > nStartIndex ) || ( sText.Len() <= nStartIndex ) + if ( ( 0 > nStartIndex ) || ( sText.Len() <= nStartIndex ) || ( 0 > nEndIndex ) || ( sText.Len() <= nEndIndex ) ) throw IndexOutOfBoundsException(); |