From ec5f08a4d5ceefe72d33605066f8c9d0e75bc3d0 Mon Sep 17 00:00:00 2001 From: Jan-Arve Saether Date: Tue, 7 Aug 2012 16:47:00 +0200 Subject: Accessibility: Add missing break; Found while porting QAccessibleTextWidget to Qt 5 Change-Id: I6a8f69d859fad20949e8250f03dd18d4106cc31c Reviewed-by: Frederik Gladhorn --- src/plugins/accessible/widgets/qaccessiblewidgets.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/accessible/widgets/qaccessiblewidgets.cpp b/src/plugins/accessible/widgets/qaccessiblewidgets.cpp index 41ad99c..06d3500 100644 --- a/src/plugins/accessible/widgets/qaccessiblewidgets.cpp +++ b/src/plugins/accessible/widgets/qaccessiblewidgets.cpp @@ -1621,6 +1621,7 @@ QPair< int, int > QAccessibleTextWidget::getBoundaries(int offset, BoundaryType result.first = cursor.position(); cursor.movePosition(QTextCursor::NextCharacter, QTextCursor::KeepAnchor); result.second = cursor.position(); + break; case WordBoundary: cursor.movePosition(QTextCursor::StartOfWord, QTextCursor::MoveAnchor); result.first = cursor.position(); -- cgit v0.12