vcl/qt5/Qt5Font.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
New commits: commit 3c3bc96aef41f27ad5fea318929134df036e494f Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Tue Oct 9 13:52:55 2018 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Tue Oct 9 13:52:55 2018 +0200 -Werror,-Wimplicit-fallthrough ("fallthrough annotation in unreachable code") Change-Id: I858937b439333b851942de9ca8f50ec228e77a76 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits