From 0f3ac23d732239b50207cfbb8cf810ef41fa9835 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 10 May 2016 14:49:37 +0200 Subject: Insert explicit "break" when falling through to empty next case ...which itself only contains a "break" (or nothing at all at the end of the "switch"), as otherwise Clang -Wimplicit-fallthrough would warn about these. Change-Id: I25c1cf2ca74dfeba7ca0385ca8f1c1bf30bbf91b --- sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx') diff --git a/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx b/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx index 10d0c185147a..c559b4f235e2 100644 --- a/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx +++ b/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx @@ -286,8 +286,9 @@ void NumberFormatPropertyPanel::NotifyItemUpdate( mpEdDecimals->SetValue(nPrecision); mpEdLeadZeroes->SetValue(nLeadZeroes); } + break; default: - ; + break; } } -- cgit