diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-13 09:43:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-13 09:43:40 +0200 |
commit | cf301dcd0c353b7460914d0d7e31f3f8a1db2a34 (patch) | |
tree | 32fbd46eb7c40ca6c1ad3a4cb5af4596d2591776 /vcl/unx/kde4/KDESalGraphics.cxx | |
parent | b7b0035c5f1267da8c178ebc9a48415cbb3feb0c (diff) |
Make it more obvious that the value combines DrawFrameFlags|DrawFrameStyle
Change-Id: I60b92fe2f9120b03293e5f880bb94a6c85e5a7ab
Diffstat (limited to 'vcl/unx/kde4/KDESalGraphics.cxx')
-rw-r--r-- | vcl/unx/kde4/KDESalGraphics.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/unx/kde4/KDESalGraphics.cxx b/vcl/unx/kde4/KDESalGraphics.cxx index 3f5355ab328d..b77aa0c48747 100644 --- a/vcl/unx/kde4/KDESalGraphics.cxx +++ b/vcl/unx/kde4/KDESalGraphics.cxx @@ -839,7 +839,8 @@ bool KDESalGraphics::getNativeControlRegion( ControlType type, ControlPart part, if( part == PART_BORDER ) { int nFrameWidth = static_cast< KDESalInstance* >(GetSalData()->m_pInstance)->getFrameWidth(); - auto nStyle = static_cast<DrawFrameFlags>(val.getNumericVal()); + auto nStyle = static_cast<DrawFrameFlags>( + val.getNumericVal() & 0xFFF0); if( nStyle & DrawFrameFlags::NoDraw ) { // in this case the question is: how thick would a frame be |