summaryrefslogtreecommitdiff
path: root/avmedia/source/framework/mediacontrol.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-11 08:41:02 +0200
committerNoel Grandin <noel@peralex.com>2015-08-11 09:48:17 +0200
commitfddb49383d99958ad065f1cd60acc5a70b873bfb (patch)
tree2ed3b41e18b36c15d329a6785a81c994fbcb5337 /avmedia/source/framework/mediacontrol.cxx
parent6a7de42a769a9543a6b6e929e87e63669c96c0b6 (diff)
loplugin: defaultparams
Change-Id: Ifc9fc93b0630674fa1f4ef78c3a2231855dc1db3
Diffstat (limited to 'avmedia/source/framework/mediacontrol.cxx')
-rw-r--r--avmedia/source/framework/mediacontrol.cxx6
1 files changed, 3 insertions, 3 deletions
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() );