diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-11 08:41:02 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-11 09:48:17 +0200 |
commit | fddb49383d99958ad065f1cd60acc5a70b873bfb (patch) | |
tree | 2ed3b41e18b36c15d329a6785a81c994fbcb5337 /avmedia | |
parent | Properly init PropertyValue.Handle in InitPropertySequence (diff) | |
download | core-fddb49383d99958ad065f1cd60acc5a70b873bfb.tar.gz core-fddb49383d99958ad065f1cd60acc5a70b873bfb.zip |
loplugin: defaultparams
Change-Id: Ifc9fc93b0630674fa1f4ef78c3a2231855dc1db3
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/framework/mediacontrol.cxx | 6 |
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() ); |