summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2014-05-29 08:09:57 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-06-04 07:32:23 +0000
commit1fd9e8e1bdf1ddf32b21d12e3793cb7a2c53e1a1 (patch)
tree564bea894298d55dfd8c3038c3491a4b5aa3e11b
parent7bbfdfdac302d766325bd3476f52eb35854d7c38 (diff)
fdo#75364 flat style and 3d style were swapped
Change-Id: I929f8f63e8017727595be30f4e56f3aabeec2b1e Reviewed-on: https://gerrit.libreoffice.org/9553 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
-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 84e0f66dbb70..601ef8b5fef2 100644
--- a/toolkit/source/awt/vclxwindows.cxx
+++ b/toolkit/source/awt/vclxwindows.cxx
@@ -175,11 +175,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 );