Kaydet (Commit) fddb4938 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin: defaultparams

Change-Id: Ifc9fc93b0630674fa1f4ef78c3a2231855dc1db3
üst 6a7de42a
......@@ -333,7 +333,7 @@ Rectangle AccessibleBrowseBoxHeaderBar::implGetBoundingBox()
Rectangle AccessibleBrowseBoxHeaderBar::implGetBoundingBoxOnScreen()
{
return mpBrowseBox->calcHeaderRect(isColumnBar(), true);
return mpBrowseBox->calcHeaderRect(isColumnBar());
}
sal_Int32 AccessibleBrowseBoxHeaderBar::implGetRowCount() const
......
......@@ -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 )
......
......@@ -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 );
}
}
......
......@@ -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 );
}
}
......
......@@ -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();
......
......@@ -93,7 +93,7 @@ void VCLXAccessibleRadioButton::FillAccessibleRelationSet( utl::AccessibleRelati
VclPtr< RadioButton > pRadioButton = GetAsDynamic< RadioButton >();
if ( pRadioButton )
{
::std::vector< VclPtr<RadioButton> > aGroup(pRadioButton->GetRadioButtonGroup(true));
::std::vector< VclPtr<RadioButton> > aGroup(pRadioButton->GetRadioButtonGroup());
if (!aGroup.empty())
{
sal_Int32 i = 0;
......
......@@ -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() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment