[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - vcl/unx
Stephan Bergmann
sbergman at redhat.com
Fri Nov 18 11:06:46 UTC 2016
vcl/unx/kde4/KDESalGraphics.cxx | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 00e4f39b319d45489b73807df37d8918c725b8bb
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Jun 20 12:28:21 2016 +0200
-Werror,-Wswitch
Change-Id: I319f932f24a5b4c2eb331eac6795731a1bc483ca
(cherry picked from commit 149edab4435256b13a8681ac69bd4c35f6da8bb7)
Reviewed-on: https://gerrit.libreoffice.org/30957
Reviewed-by: Michael Stahl <mstahl at redhat.com>
Tested-by: Michael Stahl <mstahl at redhat.com>
diff --git a/vcl/unx/kde4/KDESalGraphics.cxx b/vcl/unx/kde4/KDESalGraphics.cxx
index e6536e3..a31eca9 100644
--- a/vcl/unx/kde4/KDESalGraphics.cxx
+++ b/vcl/unx/kde4/KDESalGraphics.cxx
@@ -403,6 +403,8 @@ bool KDESalGraphics::drawNativeControl( ControlType type, ControlPart part,
draw( QStyle::CC_ComboBox, &option, m_image.get(),
vclStateValue2StateFlag(nControlState, value) );
break;
+ default:
+ break;
}
}
else if (type == ControlType::ListNode)
@@ -761,6 +763,8 @@ bool KDESalGraphics::getNativeControlRegion( ControlType type, ControlPart part,
case ControlPart::ListboxWindow:
retVal = true;
break;
+ default:
+ break;
}
break;
}
@@ -814,6 +818,8 @@ bool KDESalGraphics::getNativeControlRegion( ControlType type, ControlPart part,
w = QApplication::style()->pixelMetric(QStyle::PM_ExclusiveIndicatorWidth);
retVal = true;
break;
+ default:
+ break;
}
if (retVal) {
contentRect = QRect(0, 0, w, h);
More information about the Libreoffice-commits
mailing list