From c6861923f055efde70fe181dd280981abb961ceb Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Wed, 7 Feb 2018 10:16:05 +0100 Subject: [PATCH] Add missing break and polish formatting. --- src/BufferView.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/BufferView.cpp b/src/BufferView.cpp index 63a8e2ba6c..b2e3186b17 100644 --- a/src/BufferView.cpp +++ b/src/BufferView.cpp @@ -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: {