[Libreoffice-commits] core.git: vcl/unx
Stephan Bergmann
sbergman at redhat.com
Wed May 13 00:23:23 PDT 2015
vcl/unx/kde4/KDESalGraphics.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 96096e27457454219c6621b060e89319ceaca23c
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed May 13 09:22:57 2015 +0200
Fix kde4
Change-Id: Id34bc6fbdbdc3c1f0b99ef9807fb7d27a00aec50
diff --git a/vcl/unx/kde4/KDESalGraphics.cxx b/vcl/unx/kde4/KDESalGraphics.cxx
index e6a3851..3f5355a 100644
--- a/vcl/unx/kde4/KDESalGraphics.cxx
+++ b/vcl/unx/kde4/KDESalGraphics.cxx
@@ -839,7 +839,7 @@ bool KDESalGraphics::getNativeControlRegion( ControlType type, ControlPart part,
if( part == PART_BORDER )
{
int nFrameWidth = static_cast< KDESalInstance* >(GetSalData()->m_pInstance)->getFrameWidth();
- sal_uInt16 nStyle = val.getNumericVal();
+ auto nStyle = static_cast<DrawFrameFlags>(val.getNumericVal());
if( nStyle & DrawFrameFlags::NoDraw )
{
// in this case the question is: how thick would a frame be
More information about the Libreoffice-commits
mailing list