]> git.lyx.org Git - features.git/commitdiff
Add missing break and polish formatting.
authorJuergen Spitzmueller <spitz@lyx.org>
Wed, 7 Feb 2018 09:16:05 +0000 (10:16 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Wed, 7 Feb 2018 09:16:05 +0000 (10:16 +0100)
src/BufferView.cpp

index 63a8e2ba6c9780025204b992c9f798669ac57f3d..b2e3186b17e26821ed134c5c1a449f87810b2417 100644 (file)
@@ -1619,11 +1619,12 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
        }
 
        case LFUN_BUFFER_ANONYMIZE: {
-               for(char c = '0'; c <='Z'; c++) {
-                 odocstringstream ss;
-                 ss << "a\n" << c << "\n0 0 1 1 0"; 
-                 lyx::dispatch(FuncRequest(LFUN_WORD_REPLACE, ss.str()));
+               for (char c = '0'; c <= 'Z'; c++) {
+                       odocstringstream ss;
+                       ss << "a\n" << c << "\n0 0 1 1 0";
+                       lyx::dispatch(FuncRequest(LFUN_WORD_REPLACE, ss.str()));
                }
+               break;
        }
 
        case LFUN_WORD_FINDADV: {