diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-10-09 13:52:55 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-10-09 13:52:55 +0200 |
commit | 3c3bc96aef41f27ad5fea318929134df036e494f (patch) | |
tree | 10640ac685bd46143a275be89925345c671f4f06 /vcl | |
parent | c9bfde9a613aafbf209e093ae44d4b8dbdb17d9d (diff) |
-Werror,-Wimplicit-fallthrough
("fallthrough annotation in unreachable code")
Change-Id: I858937b439333b851942de9ca8f50ec228e77a76
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/qt5/Qt5Font.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/qt5/Qt5Font.cxx b/vcl/qt5/Qt5Font.cxx index de4d10fdf13b..04516dffa367 100644 --- a/vcl/qt5/Qt5Font.cxx +++ b/vcl/qt5/Qt5Font.cxx @@ -33,9 +33,6 @@ static QFont::Weight GetQFontWeight(FontWeight eWeight) return QFont::ExtraLight; case WEIGHT_LIGHT: return QFont::Light; - case FontWeight_FORCE_EQUAL_SIZE: - assert(false && "FontWeight_FORCE_EQUAL_SIZE not implementable for QFont"); - SAL_FALLTHROUGH; case WEIGHT_SEMILIGHT: SAL_FALLTHROUGH; case WEIGHT_DONTKNOW: @@ -52,6 +49,8 @@ static QFont::Weight GetQFontWeight(FontWeight eWeight) return QFont::ExtraBold; case WEIGHT_BLACK: return QFont::Black; + case FontWeight_FORCE_EQUAL_SIZE: + assert(false && "FontWeight_FORCE_EQUAL_SIZE not implementable for QFont"); } // so we would get enum not handled warning |