diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-05-10 14:49:37 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-05-10 14:57:26 +0200 |
commit | 0f3ac23d732239b50207cfbb8cf810ef41fa9835 (patch) | |
tree | a338a71c043dfa71e9de3c6cdc5b239b5f4b04a3 /toolkit | |
parent | 356cef643585469d17232543e4cb98ee4f3c225b (diff) |
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
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxwindow.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx index 2b0269c06105..3494aade9628 100644 --- a/toolkit/source/awt/vclxwindow.cxx +++ b/toolkit/source/awt/vclxwindow.cxx @@ -1637,7 +1637,9 @@ void VCLXWindow::setProperty( const OUString& PropertyName, const css::uno::Any& case WINDOW_GROUPBOX: case WINDOW_FIXEDLINE: pWindow->SetPaintTransparent( false ); - default: ; + break; + default: + break; } pWindow->Invalidate(); // Invalidate if control does not respond to it } |