accessibility: sal_False/True -> false/true
Change-Id: I4ac9d6ce48217893246a82fde4546dad09c58bd0
This commit is contained in:
@@ -88,7 +88,7 @@ namespace accessibility
|
|||||||
|
|
||||||
sal_Bool SAL_CALL AccessibleCheckBoxCell::setCurrentValue( const Any& ) throw (RuntimeException, std::exception)
|
sal_Bool SAL_CALL AccessibleCheckBoxCell::setCurrentValue( const Any& ) throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Any SAL_CALL AccessibleCheckBoxCell::getMaximumValue( ) throw (RuntimeException, std::exception)
|
Any SAL_CALL AccessibleCheckBoxCell::getMaximumValue( ) throw (RuntimeException, std::exception)
|
||||||
|
@@ -169,7 +169,7 @@ sal_Bool SAL_CALL AccessibleBrowseBoxHeaderBar::isAccessibleRowSelected( sal_Int
|
|||||||
::osl::MutexGuard aGuard( getOslMutex() );
|
::osl::MutexGuard aGuard( getOslMutex() );
|
||||||
ensureIsAlive();
|
ensureIsAlive();
|
||||||
ensureIsValidRow( nRow );
|
ensureIsValidRow( nRow );
|
||||||
return isRowBar() ? implIsRowSelected( nRow ) : sal_False;
|
return isRowBar() ? implIsRowSelected( nRow ) : false;
|
||||||
}
|
}
|
||||||
|
|
||||||
sal_Bool SAL_CALL AccessibleBrowseBoxHeaderBar::isAccessibleColumnSelected( sal_Int32 nColumn )
|
sal_Bool SAL_CALL AccessibleBrowseBoxHeaderBar::isAccessibleColumnSelected( sal_Int32 nColumn )
|
||||||
@@ -179,7 +179,7 @@ sal_Bool SAL_CALL AccessibleBrowseBoxHeaderBar::isAccessibleColumnSelected( sal_
|
|||||||
::osl::MutexGuard aGuard( getOslMutex() );
|
::osl::MutexGuard aGuard( getOslMutex() );
|
||||||
ensureIsAlive();
|
ensureIsAlive();
|
||||||
ensureIsValidColumn( nColumn );
|
ensureIsValidColumn( nColumn );
|
||||||
return isColumnBar() ? implIsColumnSelected( nColumn ) : sal_False;
|
return isColumnBar() ? implIsColumnSelected( nColumn ) : false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference< XAccessible > SAL_CALL AccessibleBrowseBoxHeaderBar::getAccessibleCellAt(
|
Reference< XAccessible > SAL_CALL AccessibleBrowseBoxHeaderBar::getAccessibleCellAt(
|
||||||
|
@@ -236,7 +236,7 @@ namespace accessibility
|
|||||||
if ( !implIsValidRange( nIndex, nIndex, implGetText().getLength() ) )
|
if ( !implIsValidRange( nIndex, nIndex, implGetText().getLength() ) )
|
||||||
throw IndexOutOfBoundsException();
|
throw IndexOutOfBoundsException();
|
||||||
|
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
sal_Unicode SAL_CALL AccessibleBrowseBoxTableCell::getCharacter( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception)
|
sal_Unicode SAL_CALL AccessibleBrowseBoxTableCell::getCharacter( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
@@ -288,7 +288,7 @@ namespace accessibility
|
|||||||
if ( !implIsValidRange( nStartIndex, nEndIndex, implGetText().getLength() ) )
|
if ( !implIsValidRange( nStartIndex, nEndIndex, implGetText().getLength() ) )
|
||||||
throw IndexOutOfBoundsException();
|
throw IndexOutOfBoundsException();
|
||||||
|
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
OUString SAL_CALL AccessibleBrowseBoxTableCell::getText( ) throw (::com::sun::star::uno::RuntimeException, std::exception)
|
OUString SAL_CALL AccessibleBrowseBoxTableCell::getText( ) throw (::com::sun::star::uno::RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
@@ -329,7 +329,7 @@ namespace accessibility
|
|||||||
checkIndex_Impl( nEndIndex, sText );
|
checkIndex_Impl( nEndIndex, sText );
|
||||||
|
|
||||||
//!!! don't know how to put a string into the clipboard
|
//!!! don't know how to put a string into the clipboard
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
void AccessibleBrowseBoxTableCell::disposing( const EventObject& _rSource ) throw (RuntimeException, std::exception)
|
void AccessibleBrowseBoxTableCell::disposing( const EventObject& _rSource ) throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
|
@@ -175,14 +175,14 @@ Sequence< sal_Int32 > SAL_CALL AccessibleGridControlHeader::getSelectedAccessibl
|
|||||||
sal_Bool SAL_CALL AccessibleGridControlHeader::isAccessibleRowSelected( sal_Int32 /*nRow*/ )
|
sal_Bool SAL_CALL AccessibleGridControlHeader::isAccessibleRowSelected( sal_Int32 /*nRow*/ )
|
||||||
throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
|
throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
|
||||||
{
|
{
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
//columns aren't selectable
|
//columns aren't selectable
|
||||||
sal_Bool SAL_CALL AccessibleGridControlHeader::isAccessibleColumnSelected( sal_Int32 nColumn )
|
sal_Bool SAL_CALL AccessibleGridControlHeader::isAccessibleColumnSelected( sal_Int32 nColumn )
|
||||||
throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
|
throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
|
||||||
{
|
{
|
||||||
(void)nColumn;
|
(void)nColumn;
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
//not implemented
|
//not implemented
|
||||||
Reference< XAccessible > SAL_CALL AccessibleGridControlHeader::getAccessibleCellAt(
|
Reference< XAccessible > SAL_CALL AccessibleGridControlHeader::getAccessibleCellAt(
|
||||||
@@ -196,7 +196,7 @@ sal_Bool SAL_CALL AccessibleGridControlHeader::isAccessibleSelected(
|
|||||||
sal_Int32 /*nRow*/, sal_Int32 /*nColumn */)
|
sal_Int32 /*nRow*/, sal_Int32 /*nColumn */)
|
||||||
throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
|
throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
|
||||||
{
|
{
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// XServiceInfo ---------------------------------------------------------------
|
// XServiceInfo ---------------------------------------------------------------
|
||||||
|
@@ -202,7 +202,7 @@ sal_Bool SAL_CALL AccessibleGridControlTable::isAccessibleColumnSelected( sal_In
|
|||||||
throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
|
throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
|
||||||
{
|
{
|
||||||
(void) nColumn;
|
(void) nColumn;
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference< XAccessible > SAL_CALL AccessibleGridControlTable::getAccessibleCellAt(
|
Reference< XAccessible > SAL_CALL AccessibleGridControlTable::getAccessibleCellAt(
|
||||||
|
@@ -241,7 +241,7 @@ namespace accessibility
|
|||||||
if ( !implIsValidRange( nIndex, nIndex, implGetText().getLength() ) )
|
if ( !implIsValidRange( nIndex, nIndex, implGetText().getLength() ) )
|
||||||
throw IndexOutOfBoundsException();
|
throw IndexOutOfBoundsException();
|
||||||
|
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
sal_Unicode SAL_CALL AccessibleGridControlTableCell::getCharacter( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception)
|
sal_Unicode SAL_CALL AccessibleGridControlTableCell::getCharacter( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
@@ -292,7 +292,7 @@ namespace accessibility
|
|||||||
if ( !implIsValidRange( nStartIndex, nEndIndex, implGetText().getLength() ) )
|
if ( !implIsValidRange( nStartIndex, nEndIndex, implGetText().getLength() ) )
|
||||||
throw IndexOutOfBoundsException();
|
throw IndexOutOfBoundsException();
|
||||||
|
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
OUString SAL_CALL AccessibleGridControlTableCell::getText( ) throw (::com::sun::star::uno::RuntimeException, std::exception)
|
OUString SAL_CALL AccessibleGridControlTableCell::getText( ) throw (::com::sun::star::uno::RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
@@ -333,7 +333,7 @@ namespace accessibility
|
|||||||
checkIndex_Impl( nEndIndex, sText );
|
checkIndex_Impl( nEndIndex, sText );
|
||||||
|
|
||||||
//!!! don't know how to put a string into the clipboard
|
//!!! don't know how to put a string into the clipboard
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle AccessibleGridControlTableCell::implGetBoundingBox()
|
Rectangle AccessibleGridControlTableCell::implGetBoundingBox()
|
||||||
|
@@ -494,7 +494,7 @@ throw(RuntimeException, std::exception)
|
|||||||
sal_Int32 nLen = nEndIndex - nStartIndex + 1;
|
sal_Int32 nLen = nEndIndex - nStartIndex + 1;
|
||||||
::svt::OStringTransfer::CopyString( sText.copy( nStartIndex, nLen ), m_pIconCtrl );
|
::svt::OStringTransfer::CopyString( sText.copy( nStartIndex, nLen ), m_pIconCtrl );
|
||||||
|
|
||||||
return sal_True;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// XAccessibleEventBroadcaster
|
// XAccessibleEventBroadcaster
|
||||||
@@ -543,7 +543,7 @@ throw(RuntimeException, std::exception)
|
|||||||
if ( !implIsValidRange( nIndex, nIndex, implGetText().getLength() ) )
|
if ( !implIsValidRange( nIndex, nIndex, implGetText().getLength() ) )
|
||||||
throw IndexOutOfBoundsException();
|
throw IndexOutOfBoundsException();
|
||||||
|
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
sal_Unicode SAL_CALL AccessibleIconChoiceCtrlEntry::getCharacter( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception)
|
sal_Unicode SAL_CALL AccessibleIconChoiceCtrlEntry::getCharacter( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
@@ -603,7 +603,7 @@ throw(RuntimeException, std::exception)
|
|||||||
if ( !implIsValidRange( nStartIndex, nEndIndex, implGetText().getLength() ) )
|
if ( !implIsValidRange( nStartIndex, nEndIndex, implGetText().getLength() ) )
|
||||||
throw IndexOutOfBoundsException();
|
throw IndexOutOfBoundsException();
|
||||||
|
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
OUString SAL_CALL AccessibleIconChoiceCtrlEntry::getText( ) throw (::com::sun::star::uno::RuntimeException, std::exception)
|
OUString SAL_CALL AccessibleIconChoiceCtrlEntry::getText( ) throw (::com::sun::star::uno::RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
|
@@ -136,7 +136,7 @@ namespace accessibility
|
|||||||
/*
|
/*
|
||||||
ImplSVData* pSVData = ImplGetAppSVData();
|
ImplSVData* pSVData = ImplGetAppSVData();
|
||||||
if (pSVData && pSVData->maWinData.mpFirstFloat == (FloatingWindow*)pParent)
|
if (pSVData && pSVData->maWinData.mpFirstFloat == (FloatingWindow*)pParent)
|
||||||
bNeedFocus = sal_True;
|
bNeedFocus = true;
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -713,7 +713,7 @@ namespace accessibility
|
|||||||
sal_Int32 nLen = nEndIndex - nStartIndex + 1;
|
sal_Int32 nLen = nEndIndex - nStartIndex + 1;
|
||||||
::svt::OStringTransfer::CopyString( sText.copy( nStartIndex, nLen ), getListBox() );
|
::svt::OStringTransfer::CopyString( sText.copy( nStartIndex, nLen ), getListBox() );
|
||||||
|
|
||||||
return sal_True;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// XAccessibleEventBroadcaster
|
// XAccessibleEventBroadcaster
|
||||||
@@ -1013,7 +1013,7 @@ namespace accessibility
|
|||||||
if ( !implIsValidRange( nIndex, nIndex, implGetText().getLength() ) )
|
if ( !implIsValidRange( nIndex, nIndex, implGetText().getLength() ) )
|
||||||
throw IndexOutOfBoundsException();
|
throw IndexOutOfBoundsException();
|
||||||
|
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
sal_Unicode SAL_CALL AccessibleListBoxEntry::getCharacter( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception)
|
sal_Unicode SAL_CALL AccessibleListBoxEntry::getCharacter( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
@@ -1073,7 +1073,7 @@ namespace accessibility
|
|||||||
if ( !implIsValidRange( nStartIndex, nEndIndex, implGetText().getLength() ) )
|
if ( !implIsValidRange( nStartIndex, nEndIndex, implGetText().getLength() ) )
|
||||||
throw IndexOutOfBoundsException();
|
throw IndexOutOfBoundsException();
|
||||||
|
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
OUString SAL_CALL AccessibleListBoxEntry::getText( ) throw (::com::sun::star::uno::RuntimeException, std::exception)
|
OUString SAL_CALL AccessibleListBoxEntry::getText( ) throw (::com::sun::star::uno::RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
|
@@ -271,7 +271,7 @@ namespace accessibility
|
|||||||
|
|
||||||
bool AccessibleTabListBoxTable::implIsRowSelected( sal_Int32 _nRow ) const
|
bool AccessibleTabListBoxTable::implIsRowSelected( sal_Int32 _nRow ) const
|
||||||
{
|
{
|
||||||
return m_pTabListBox ? m_pTabListBox->IsSelected( m_pTabListBox->GetEntry( _nRow ) ) : sal_False;
|
return m_pTabListBox ? m_pTabListBox->IsSelected( m_pTabListBox->GetEntry( _nRow ) ) : false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void AccessibleTabListBoxTable::implSelectRow( sal_Int32 _nRow, bool _bSelect )
|
void AccessibleTabListBoxTable::implSelectRow( sal_Int32 _nRow, bool _bSelect )
|
||||||
|
@@ -200,7 +200,7 @@ sal_Bool VCLXAccessibleButton::doAccessibleAction ( sal_Int32 nIndex ) throw (In
|
|||||||
if ( pButton )
|
if ( pButton )
|
||||||
pButton->Click();
|
pButton->Click();
|
||||||
|
|
||||||
return sal_True;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -218,7 +218,7 @@ sal_Bool VCLXAccessibleCheckBox::doAccessibleAction ( sal_Int32 nIndex ) throw (
|
|||||||
pVCLXCheckBox->setState( (sal_Int16) nValue );
|
pVCLXCheckBox->setState( (sal_Int16) nValue );
|
||||||
}
|
}
|
||||||
|
|
||||||
return sal_True;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -589,7 +589,7 @@ sal_Bool VCLXAccessibleEdit::setAttributes( sal_Int32 nStartIndex, sal_Int32 nEn
|
|||||||
if ( !implIsValidRange( nStartIndex, nEndIndex, implGetText().getLength() ) )
|
if ( !implIsValidRange( nStartIndex, nEndIndex, implGetText().getLength() ) )
|
||||||
throw IndexOutOfBoundsException();
|
throw IndexOutOfBoundsException();
|
||||||
|
|
||||||
return sal_False; // attributes cannot be set for an edit
|
return false; // attributes cannot be set for an edit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -414,7 +414,7 @@ sal_Bool SAL_CALL VCLXAccessibleListItem::setCaretPosition( sal_Int32 nIndex ) t
|
|||||||
if ( !implIsValidRange( nIndex, nIndex, implGetText().getLength() ) )
|
if ( !implIsValidRange( nIndex, nIndex, implGetText().getLength() ) )
|
||||||
throw IndexOutOfBoundsException();
|
throw IndexOutOfBoundsException();
|
||||||
|
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
sal_Unicode SAL_CALL VCLXAccessibleListItem::getCharacter( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
|
sal_Unicode SAL_CALL VCLXAccessibleListItem::getCharacter( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
|
||||||
@@ -517,7 +517,7 @@ sal_Bool SAL_CALL VCLXAccessibleListItem::setSelection( sal_Int32 nStartIndex, s
|
|||||||
if ( !implIsValidRange( nStartIndex, nEndIndex, implGetText().getLength() ) )
|
if ( !implIsValidRange( nStartIndex, nEndIndex, implGetText().getLength() ) )
|
||||||
throw IndexOutOfBoundsException();
|
throw IndexOutOfBoundsException();
|
||||||
|
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
OUString SAL_CALL VCLXAccessibleListItem::getText() throw (RuntimeException, std::exception)
|
OUString SAL_CALL VCLXAccessibleListItem::getText() throw (RuntimeException, std::exception)
|
||||||
|
@@ -219,7 +219,7 @@ sal_Bool VCLXAccessibleMenuItem::setCaretPosition( sal_Int32 nIndex ) throw (Ind
|
|||||||
if ( !implIsValidRange( nIndex, nIndex, implGetText().getLength() ) )
|
if ( !implIsValidRange( nIndex, nIndex, implGetText().getLength() ) )
|
||||||
throw IndexOutOfBoundsException();
|
throw IndexOutOfBoundsException();
|
||||||
|
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -337,7 +337,7 @@ sal_Bool VCLXAccessibleMenuItem::setSelection( sal_Int32 nStartIndex, sal_Int32
|
|||||||
if ( !implIsValidRange( nStartIndex, nEndIndex, implGetText().getLength() ) )
|
if ( !implIsValidRange( nStartIndex, nEndIndex, implGetText().getLength() ) )
|
||||||
throw IndexOutOfBoundsException();
|
throw IndexOutOfBoundsException();
|
||||||
|
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -443,7 +443,7 @@ sal_Bool VCLXAccessibleMenuItem::doAccessibleAction ( sal_Int32 nIndex ) throw (
|
|||||||
|
|
||||||
Click();
|
Click();
|
||||||
|
|
||||||
return sal_True;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -175,9 +175,9 @@ sal_Bool VCLXAccessibleRadioButton::doAccessibleAction ( sal_Int32 nIndex ) thro
|
|||||||
|
|
||||||
VCLXRadioButton* pVCLXRadioButton = static_cast< VCLXRadioButton* >( GetVCLXWindow() );
|
VCLXRadioButton* pVCLXRadioButton = static_cast< VCLXRadioButton* >( GetVCLXWindow() );
|
||||||
if ( pVCLXRadioButton && !pVCLXRadioButton->getState() )
|
if ( pVCLXRadioButton && !pVCLXRadioButton->getState() )
|
||||||
pVCLXRadioButton->setState( sal_True );
|
pVCLXRadioButton->setState( true );
|
||||||
|
|
||||||
return sal_True;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -494,7 +494,7 @@ sal_Bool VCLXAccessibleStatusBarItem::setCaretPosition( sal_Int32 nIndex ) throw
|
|||||||
if ( !implIsValidRange( nIndex, nIndex, implGetText().getLength() ) )
|
if ( !implIsValidRange( nIndex, nIndex, implGetText().getLength() ) )
|
||||||
throw IndexOutOfBoundsException();
|
throw IndexOutOfBoundsException();
|
||||||
|
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -573,7 +573,7 @@ sal_Bool VCLXAccessibleStatusBarItem::setSelection( sal_Int32 nStartIndex, sal_I
|
|||||||
if ( !implIsValidRange( nStartIndex, nEndIndex, implGetText().getLength() ) )
|
if ( !implIsValidRange( nStartIndex, nEndIndex, implGetText().getLength() ) )
|
||||||
throw IndexOutOfBoundsException();
|
throw IndexOutOfBoundsException();
|
||||||
|
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -568,7 +568,7 @@ sal_Bool VCLXAccessibleTabPage::setCaretPosition( sal_Int32 nIndex ) throw (Inde
|
|||||||
if ( !implIsValidRange( nIndex, nIndex, implGetText().getLength() ) )
|
if ( !implIsValidRange( nIndex, nIndex, implGetText().getLength() ) )
|
||||||
throw IndexOutOfBoundsException();
|
throw IndexOutOfBoundsException();
|
||||||
|
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -646,7 +646,7 @@ sal_Bool VCLXAccessibleTabPage::setSelection( sal_Int32 nStartIndex, sal_Int32 n
|
|||||||
if ( !implIsValidRange( nStartIndex, nEndIndex, implGetText().getLength() ) )
|
if ( !implIsValidRange( nStartIndex, nEndIndex, implGetText().getLength() ) )
|
||||||
throw IndexOutOfBoundsException();
|
throw IndexOutOfBoundsException();
|
||||||
|
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -320,7 +320,7 @@ sal_Bool VCLXAccessibleTextComponent::setSelection( sal_Int32 nStartIndex, sal_I
|
|||||||
if ( !implIsValidRange( nStartIndex, nEndIndex, implGetText().getLength() ) )
|
if ( !implIsValidRange( nStartIndex, nEndIndex, implGetText().getLength() ) )
|
||||||
throw IndexOutOfBoundsException();
|
throw IndexOutOfBoundsException();
|
||||||
|
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -816,9 +816,9 @@ sal_Bool VCLXAccessibleToolBox::isAccessibleChildSelected( sal_Int32 nChildIndex
|
|||||||
ToolBox * pToolBox = static_cast < ToolBox * > ( GetWindow() );
|
ToolBox * pToolBox = static_cast < ToolBox * > ( GetWindow() );
|
||||||
sal_uInt16 nPos = static_cast < sal_uInt16 > (nChildIndex);
|
sal_uInt16 nPos = static_cast < sal_uInt16 > (nChildIndex);
|
||||||
if ( pToolBox != NULL && pToolBox->GetHighlightItemId() == pToolBox->GetItemId( nPos ) )
|
if ( pToolBox != NULL && pToolBox->GetHighlightItemId() == pToolBox->GetItemId( nPos ) )
|
||||||
return sal_True;
|
return true;
|
||||||
else
|
else
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void VCLXAccessibleToolBox::clearAccessibleSelection( ) throw (RuntimeException, std::exception)
|
void VCLXAccessibleToolBox::clearAccessibleSelection( ) throw (RuntimeException, std::exception)
|
||||||
|
@@ -441,7 +441,7 @@ sal_Bool SAL_CALL VCLXAccessibleToolBoxItem::setCaretPosition( sal_Int32 nIndex
|
|||||||
if ( !implIsValidRange( nIndex, nIndex, implGetText().getLength() ) )
|
if ( !implIsValidRange( nIndex, nIndex, implGetText().getLength() ) )
|
||||||
throw IndexOutOfBoundsException();
|
throw IndexOutOfBoundsException();
|
||||||
|
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Sequence< PropertyValue > SAL_CALL VCLXAccessibleToolBoxItem::getCharacterAttributes( sal_Int32 nIndex, const Sequence< OUString >& ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
|
Sequence< PropertyValue > SAL_CALL VCLXAccessibleToolBoxItem::getCharacterAttributes( sal_Int32 nIndex, const Sequence< OUString >& ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
|
||||||
@@ -503,7 +503,7 @@ sal_Bool SAL_CALL VCLXAccessibleToolBoxItem::setSelection( sal_Int32 nStartIndex
|
|||||||
if ( !implIsValidRange( nStartIndex, nEndIndex, implGetText().getLength() ) )
|
if ( !implIsValidRange( nStartIndex, nEndIndex, implGetText().getLength() ) )
|
||||||
throw IndexOutOfBoundsException();
|
throw IndexOutOfBoundsException();
|
||||||
|
|
||||||
return sal_False;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
sal_Bool SAL_CALL VCLXAccessibleToolBoxItem::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
|
sal_Bool SAL_CALL VCLXAccessibleToolBoxItem::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
|
||||||
@@ -642,7 +642,7 @@ sal_Bool VCLXAccessibleToolBoxItem::doAccessibleAction ( sal_Int32 nIndex ) thro
|
|||||||
if ( m_pToolBox )
|
if ( m_pToolBox )
|
||||||
m_pToolBox->TriggerItem( m_nItemId );
|
m_pToolBox->TriggerItem( m_nItemId );
|
||||||
|
|
||||||
return sal_True;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
OUString VCLXAccessibleToolBoxItem::getAccessibleActionDescription ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
|
OUString VCLXAccessibleToolBoxItem::getAccessibleActionDescription ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
|
||||||
|
Reference in New Issue
Block a user