]> git.lyx.org Git - features.git/commitdiff
Fix indentation
authorEnrico Forestieri <forenr@lyx.org>
Thu, 20 Oct 2016 23:58:45 +0000 (01:58 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Thu, 20 Oct 2016 23:58:45 +0000 (01:58 +0200)
src/Paragraph.cpp

index b009607b139b8c4f35750de53e4bfbc0cd02740f..aea3234a19ced0765cffa75e1597867e97756304 100644 (file)
@@ -2561,12 +2561,12 @@ void Paragraph::latex(BufferParams const & bparams,
                                                basefont, outerfont, open_font,
                                                runningChange, style, i, column);
                        }
-               } else {
-                       if (i >= start_pos && (end_pos == -1 || i < end_pos)) {
-                               try {
-                                       d->latexSpecialChar(os, bparams, rp, running_font, runningChange,
-                                                           style, i, end_pos, column);
-                               } catch (EncodingException & e) {
+               } else if (i >= start_pos && (end_pos == -1 || i < end_pos)) {
+                       try {
+                               d->latexSpecialChar(os, bparams, rp,
+                                                   running_font, runningChange,
+                                                   style, i, end_pos, column);
+                       } catch (EncodingException & e) {
                                if (runparams.dryrun) {
                                        os << "<" << _("LyX Warning: ")
                                           << _("uncodable character") << " '";
@@ -2580,7 +2580,6 @@ void Paragraph::latex(BufferParams const & bparams,
                                }
                        }
                }
-               }
 
                // Set the encoding to that returned from latexSpecialChar (see
                // comment for encoding member in OutputParams.h)