[Libreoffice-commits] core.git: Branch 'libreoffice-6-0-0' - vcl/osx

Telesto telesto at surfxs.nl
Wed Jan 24 15:39:49 UTC 2018


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

New commits:
commit 8fce4b9b76b1d5e3611c1dd05a1bcdcd84fb0474
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>
    (cherry picked from commit 44af50465a02b6f5566be45913a34fdbdba90133)
    Reviewed-on: https://gerrit.libreoffice.org/48385
    (cherry picked from commit 2b6db99279fcfbbe3ba3720f92c36b8ecd49635a)
    Reviewed-on: https://gerrit.libreoffice.org/48414
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
    Tested-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>

diff --git a/vcl/osx/salnativewidgets.cxx b/vcl/osx/salnativewidgets.cxx
index 42add9e30d5a..7db66ac1ac77 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