]> git.lyx.org Git - features.git/commitdiff
Fix some indentation issues.
authorRichard Heck <rgheck@comcast.net>
Tue, 25 Oct 2011 18:43:47 +0000 (18:43 +0000)
committerRichard Heck <rgheck@comcast.net>
Tue, 25 Oct 2011 18:43:47 +0000 (18:43 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39970 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathHull.cpp

index e06a40ec5a9c9bc56c6f79d97d50f327d571273c..bfa12b0f11249c5675291c0b53bfc5420a1ceb60 100644 (file)
@@ -1907,24 +1907,25 @@ int InsetMathHull::plaintext(odocstream & os, OutputParams const &) const
                // reset metrics cache to "real" values
                //metrics();
                return tpain.textheight();
-       } else {
-               odocstringstream oss;
-               Encoding const * const enc = encodings.fromLyXName("utf8");
-               WriteStream wi(oss, false, true, WriteStream::wsDefault, enc);
-               // Fix Bug #6139
-               if (type_ == hullRegexp)
-                       write(wi);
-               else {
-                       for (row_type r = 0; r < nrows(); ++r) {
-                               for (col_type c = 0; c < ncols(); ++c)
-                                       wi << (c == 0 ? "" : "\t") << cell(index(r, c));
-                               wi << "\n";
-                       }
+       }
+
+       odocstringstream oss;
+       Encoding const * const enc = encodings.fromLyXName("utf8");
+       WriteStream wi(oss, false, true, WriteStream::wsDefault, enc);
+
+       // Fix Bug #6139
+       if (type_ == hullRegexp)
+               write(wi);
+       else {
+               for (row_type r = 0; r < nrows(); ++r) {
+                       for (col_type c = 0; c < ncols(); ++c)
+                               wi << (c == 0 ? "" : "\t") << cell(index(r, c));
+                       wi << "\n";
                }
-               docstring const str = oss.str();
-               os << str;
-               return str.size();
        }
+       docstring const str = oss.str();
+       os << str;
+       return str.size();
 }