summaryrefslogtreecommitdiff
path: root/vcl/osx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-27 22:11:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-28 17:18:30 +0200
commiteeec230208986c0b1f5e95eed54644fc644d28fd (patch)
tree8bc019ef518222154090965bccd5b95f7b1629d7 /vcl/osx
parent83ed85eceb3591a14a7f661c179d5b5880cedcff (diff)
loplugin:simplifybool
Change-Id: I5eb7cef0d98c4c2db99c90170ce17b677e6d5b45
Diffstat (limited to 'vcl/osx')
-rw-r--r--vcl/osx/salinst.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx
index 2f061cbbcc13..433aa027f451 100644
--- a/vcl/osx/salinst.cxx
+++ b/vcl/osx/salinst.cxx
@@ -488,7 +488,7 @@ void AquaSalInstance::handleAppDefinedEvent( NSEvent* pEvent )
switch ([pEvent data1])
{
case kRemoteButtonPlay:
- nCommand = ( bIsFullScreenMode == true ) ? MEDIA_COMMAND_PLAY_PAUSE : MEDIA_COMMAND_PLAY;
+ nCommand = bIsFullScreenMode ? MEDIA_COMMAND_PLAY_PAUSE : MEDIA_COMMAND_PLAY;
break;
// kept for experimentation purpose (scheduled for future implementation)