[Libreoffice-commits] core.git: vcl/osx

Stephan Bergmann sbergman at redhat.com
Tue Apr 28 08:19:12 PDT 2015


 vcl/osx/salinst.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit eeec230208986c0b1f5e95eed54644fc644d28fd
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Apr 27 22:11:35 2015 +0200

    loplugin:simplifybool
    
    Change-Id: I5eb7cef0d98c4c2db99c90170ce17b677e6d5b45

diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx
index 2f061cb..433aa02 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)


More information about the Libreoffice-commits mailing list