summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2014-05-29 08:09:57 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2014-05-29 10:52:42 -0500
commitef530d0a2c0f68da7011f935ff4775defc6d4651 (patch)
treebf47cd224dd67af03ad393d03f52d97cc0ba7656
parentdb681394e02611872570feba07246bdb41c5bf2b (diff)
fdo#75364 flat style and 3d style were swapped
Change-Id: I929f8f63e8017727595be30f4e56f3aabeec2b1e Reviewed-on: https://gerrit.libreoffice.org/9549 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
-rw-r--r--toolkit/source/awt/vclxwindows.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx
index cea2913398d8..9016b04abf0f 100644
--- a/toolkit/source/awt/vclxwindows.cxx
+++ b/toolkit/source/awt/vclxwindows.cxx
@@ -178,11 +178,11 @@ namespace toolkit
switch ( nStyle )
{
case FLAT:
- aStyleSettings.SetOptions( aStyleSettings.GetOptions() & ~STYLE_OPTION_MONO );
+ aStyleSettings.SetOptions( aStyleSettings.GetOptions() | STYLE_OPTION_MONO );
break;
case LOOK3D:
default:
- aStyleSettings.SetOptions( aStyleSettings.GetOptions() | STYLE_OPTION_MONO );
+ aStyleSettings.SetOptions( aStyleSettings.GetOptions() & ~STYLE_OPTION_MONO );
}
aSettings.SetStyleSettings( aStyleSettings );
_pWindow->SetSettings( aSettings );