vcl/unx/kde4/KDESalGraphics.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 96096e27457454219c6621b060e89319ceaca23c
Author: Stephan Bergmann <sberg...@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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to