From fddb49383d99958ad065f1cd60acc5a70b873bfb Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 11 Aug 2015 08:41:02 +0200 Subject: loplugin: defaultparams Change-Id: Ifc9fc93b0630674fa1f4ef78c3a2231855dc1db3 --- accessibility/source/extended/AccessibleBrowseBoxHeaderBar.cxx | 2 +- accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx | 2 +- accessibility/source/extended/accessiblelistbox.cxx | 4 ++-- accessibility/source/extended/accessiblelistboxentry.cxx | 4 ++-- accessibility/source/standard/vclxaccessiblelist.cxx | 4 ++-- accessibility/source/standard/vclxaccessibleradiobutton.cxx | 2 +- avmedia/source/framework/mediacontrol.cxx | 6 +++--- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/accessibility/source/extended/AccessibleBrowseBoxHeaderBar.cxx b/accessibility/source/extended/AccessibleBrowseBoxHeaderBar.cxx index c446f1d6ca93..fe8893191534 100644 --- a/accessibility/source/extended/AccessibleBrowseBoxHeaderBar.cxx +++ b/accessibility/source/extended/AccessibleBrowseBoxHeaderBar.cxx @@ -333,7 +333,7 @@ Rectangle AccessibleBrowseBoxHeaderBar::implGetBoundingBox() Rectangle AccessibleBrowseBoxHeaderBar::implGetBoundingBoxOnScreen() { - return mpBrowseBox->calcHeaderRect(isColumnBar(), true); + return mpBrowseBox->calcHeaderRect(isColumnBar()); } sal_Int32 AccessibleBrowseBoxHeaderBar::implGetRowCount() const diff --git a/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx b/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx index f0b25be226cf..6e557f9b9032 100644 --- a/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx +++ b/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx @@ -267,7 +267,7 @@ bool AccessibleBrowseBoxTableBase::implIsColumnSelected( sal_Int32 nColumn ) con void AccessibleBrowseBoxTableBase::implSelectRow( sal_Int32 nRow, bool bSelect ) { - mpBrowseBox->SelectRow( nRow, bSelect, true ); + mpBrowseBox->SelectRow( nRow, bSelect ); } void AccessibleBrowseBoxTableBase::implSelectColumn( sal_Int32 nColumnPos, bool bSelect ) diff --git a/accessibility/source/extended/accessiblelistbox.cxx b/accessibility/source/extended/accessiblelistbox.cxx index cffd5b5a055d..1e21f018cdc6 100644 --- a/accessibility/source/extended/accessiblelistbox.cxx +++ b/accessibility/source/extended/accessiblelistbox.cxx @@ -477,7 +477,7 @@ namespace accessibility if ( !pEntry ) throw IndexOutOfBoundsException(); - getListBox()->Select( pEntry, true ); + getListBox()->Select( pEntry ); } sal_Bool SAL_CALL AccessibleListBox::isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) @@ -519,7 +519,7 @@ namespace accessibility { SvTreeListEntry* pEntry = getListBox()->GetEntry( i ); if ( !getListBox()->IsSelected( pEntry ) ) - getListBox()->Select( pEntry, true ); + getListBox()->Select( pEntry ); } } diff --git a/accessibility/source/extended/accessiblelistboxentry.cxx b/accessibility/source/extended/accessiblelistboxentry.cxx index 506a35092dd6..aed1f9b8d6d6 100644 --- a/accessibility/source/extended/accessiblelistboxentry.cxx +++ b/accessibility/source/extended/accessiblelistboxentry.cxx @@ -873,7 +873,7 @@ namespace accessibility if ( !pEntry ) throw IndexOutOfBoundsException(); - getListBox()->Select( pEntry, true ); + getListBox()->Select( pEntry ); } sal_Bool SAL_CALL AccessibleListBoxEntry::isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) @@ -925,7 +925,7 @@ namespace accessibility { SvTreeListEntry* pEntry = getListBox()->GetEntry( pParent, i ); if ( !getListBox()->IsSelected( pEntry ) ) - getListBox()->Select( pEntry, true ); + getListBox()->Select( pEntry ); } } diff --git a/accessibility/source/standard/vclxaccessiblelist.cxx b/accessibility/source/standard/vclxaccessiblelist.cxx index c2bd0977fe2b..7b2dd3ed9d3d 100644 --- a/accessibility/source/standard/vclxaccessiblelist.cxx +++ b/accessibility/source/standard/vclxaccessiblelist.cxx @@ -791,7 +791,7 @@ void SAL_CALL VCLXAccessibleList::selectAccessibleChild( sal_Int32 nChildIndex ) { checkSelection_Impl(nChildIndex,*m_pListBoxHelper,false); - m_pListBoxHelper->SelectEntryPos( (sal_uInt16)nChildIndex, true ); + m_pListBoxHelper->SelectEntryPos( (sal_uInt16)nChildIndex ); // call the select handler, don't handle events in this time m_bDisableProcessEvent = true; m_pListBoxHelper->Select(); @@ -850,7 +850,7 @@ void SAL_CALL VCLXAccessibleList::selectAllAccessibleChildren( ) throw (Runtime { sal_uInt16 nCount = m_pListBoxHelper->GetEntryCount(); for ( sal_uInt16 i = 0; i < nCount; ++i ) - m_pListBoxHelper->SelectEntryPos( i, true ); + m_pListBoxHelper->SelectEntryPos( i ); // call the select handler, don't handle events in this time m_bDisableProcessEvent = true; m_pListBoxHelper->Select(); diff --git a/accessibility/source/standard/vclxaccessibleradiobutton.cxx b/accessibility/source/standard/vclxaccessibleradiobutton.cxx index 23d8a92b268b..1881c8fb303a 100644 --- a/accessibility/source/standard/vclxaccessibleradiobutton.cxx +++ b/accessibility/source/standard/vclxaccessibleradiobutton.cxx @@ -93,7 +93,7 @@ void VCLXAccessibleRadioButton::FillAccessibleRelationSet( utl::AccessibleRelati VclPtr< RadioButton > pRadioButton = GetAsDynamic< RadioButton >(); if ( pRadioButton ) { - ::std::vector< VclPtr > aGroup(pRadioButton->GetRadioButtonGroup(true)); + ::std::vector< VclPtr > aGroup(pRadioButton->GetRadioButtonGroup()); if (!aGroup.empty()) { sal_Int32 i = 0; diff --git a/avmedia/source/framework/mediacontrol.cxx b/avmedia/source/framework/mediacontrol.cxx index 695ee808af3e..137a79524df7 100644 --- a/avmedia/source/framework/mediacontrol.cxx +++ b/avmedia/source/framework/mediacontrol.cxx @@ -320,21 +320,21 @@ void MediaControl::implUpdateToolboxes() if( MediaState::Play == maItem.getState() ) { - maPlayToolBox->CheckItem( AVMEDIA_TOOLBOXITEM_PLAY, true ); + maPlayToolBox->CheckItem( AVMEDIA_TOOLBOXITEM_PLAY ); maPlayToolBox->CheckItem( AVMEDIA_TOOLBOXITEM_PAUSE, false ); maPlayToolBox->CheckItem( AVMEDIA_TOOLBOXITEM_STOP, false ); } else if( maItem.getTime() > 0.0 && ( maItem.getTime() < maItem.getDuration() ) ) { maPlayToolBox->CheckItem( AVMEDIA_TOOLBOXITEM_PLAY, false ); - maPlayToolBox->CheckItem( AVMEDIA_TOOLBOXITEM_PAUSE, true ); + maPlayToolBox->CheckItem( AVMEDIA_TOOLBOXITEM_PAUSE ); maPlayToolBox->CheckItem( AVMEDIA_TOOLBOXITEM_STOP, false ); } else { maPlayToolBox->CheckItem( AVMEDIA_TOOLBOXITEM_PLAY, false ); maPlayToolBox->CheckItem( AVMEDIA_TOOLBOXITEM_PAUSE, false ); - maPlayToolBox->CheckItem( AVMEDIA_TOOLBOXITEM_STOP, true ); + maPlayToolBox->CheckItem( AVMEDIA_TOOLBOXITEM_STOP ); } maPlayToolBox->CheckItem( AVMEDIA_TOOLBOXITEM_LOOP, maItem.isLoop() ); -- cgit