summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTelesto <telesto@surfxs.nl>2018-01-22 16:49:21 +0200
committerAndras Timar <andras.timar@collabora.com>2018-02-06 15:27:30 +0100
commitaabfbe990de0097836d20ef2efa74e747a247007 (patch)
tree72fdec2a65f37e02fd2d39d18d3d71d5fb4584ed
parent7aab88ca7c0a499944f6abb83ba741f2146fd3f6 (diff)
tdf#112153: Set button theme properly
Change-Id: I0665880c0d0348fcbb3bcf04d9172405c8e31eb7 Reviewed-on: https://gerrit.libreoffice.org/48334 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com> (cherry picked from commit 44af50465a02b6f5566be45913a34fdbdba90133) Reviewed-on: https://gerrit.libreoffice.org/48385 (cherry picked from commit 2b6db99279fcfbbe3ba3720f92c36b8ecd49635a) Signed-off-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 6c377a8738168df9c22696cd28d3bbc57b152137)
-rw-r--r--vcl/osx/salnativewidgets.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/salnativewidgets.cxx b/vcl/osx/salnativewidgets.cxx
index a9d263f3c476..178a18db6357 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;