summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2014-05-29 08:09:57 +0200
committerDavid Tardon <dtardon@redhat.com>2014-06-09 16:31:58 +0000
commit2f59d362f9d6111270fcf58957496359ff352502 (patch)
tree672d1b405c9211e2bbdd00b1b073aa23b3b719a9 /toolkit
parenta442091e3a66b33ecbd461de3fe9afd7add5b107 (diff)
fdo#75364 flat style and 3d style were swapped
Change-Id: I929f8f63e8017727595be30f4e56f3aabeec2b1e Reviewed-on: https://gerrit.libreoffice.org/9552 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'toolkit')
-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 62ec58926e59..65e00be84699 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 );