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

Telesto telesto at surfxs.nl
Tue Jan 23 08:20:19 UTC 2018


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

New commits:
commit 44af50465a02b6f5566be45913a34fdbdba90133
Author: Telesto <telesto at surfxs.nl>
Date:   Mon Jan 22 16:49:21 2018 +0200

    tdf#112153: Set button theme properly
    
    Change-Id: I0665880c0d0348fcbb3bcf04d9172405c8e31eb7
    Reviewed-on: https://gerrit.libreoffice.org/48334
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Tor Lillqvist <tml at collabora.com>

diff --git a/vcl/osx/salnativewidgets.cxx b/vcl/osx/salnativewidgets.cxx
index d311526c0168..811960f1b92e 100644
--- a/vcl/osx/salnativewidgets.cxx
+++ b/vcl/osx/salnativewidgets.cxx
@@ -106,11 +106,11 @@ static ThemeButtonValue ImplGetButtonValue( ButtonValue aButtonValue )
             break;
 
         case ButtonValue::Off:
+        case ButtonValue::DontKnow:
             return kThemeButtonOff;
             break;
 
         case ButtonValue::Mixed:
-        case ButtonValue::DontKnow:
         default:
             return kThemeButtonMixed;
             break;


More information about the Libreoffice-commits mailing list