]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtextclass.C
the spellcheck cleanup
[lyx.git] / src / lyxtextclass.C
index fb53e5e742d4f3d6588efe4d5474aba29f466f36..002d51df836df28e6a6e7842b2873ca7d974ba95 100644 (file)
@@ -32,7 +32,7 @@ using lyx::support::subst;
 using std::endl;
 using std::find_if;
 using std::remove_if;
-
+using std::string;
 using std::ostream;
 
 
@@ -233,8 +233,10 @@ bool LyXTextClass::Read(string const & filename, bool merge)
                                        if (le == TC_ENVIRONMENT)
                                                lay.is_environment = true;
                                        if (!(error = do_readStyle(lexrc, lay)))
-                                               layoutlist_.push_back
-                                                       (boost::shared_ptr<LyXLayout>(new LyXLayout(lay)));
+                                               layoutlist_.push_back(
+                                                       boost::shared_ptr<LyXLayout>(new LyXLayout(lay))
+                                                       );
+
                                        if (defaultlayout_.empty()) {
                                                // We do not have a default
                                                // layout yet, so we choose