]> git.lyx.org Git - lyx.git/blobdiff - src/LayoutFile.cpp
installer: update to latest MiKTeX to fix a bug
[lyx.git] / src / LayoutFile.cpp
index 4337956170496b3c3715f58945377657b4d96fe7..5f2f0d3db8d4819ee106e29bae6316f1ef30e364 100644 (file)
@@ -182,7 +182,8 @@ std::vector<LayoutFileIndex> LayoutFileList::classList() const
 }
 
 
-void LayoutFileList::reset(LayoutFileIndex const & classname) {
+void LayoutFileList::reset(LayoutFileIndex const & classname)
+{
        LASSERT(haveClass(classname), /**/);
        LayoutFile * tc = classmap_[classname];
        LayoutFile * tmpl = 
@@ -216,6 +217,7 @@ string layoutpost =
        
 }
 
+
 LayoutFileIndex LayoutFileList::addEmptyClass(string const & textclass)
 {
        FileName const tempLayout = FileName::tempName("basic_layout");
@@ -257,8 +259,8 @@ LayoutFileIndex LayoutFileList::addEmptyClass(string const & textclass)
 }
 
 
-LayoutFileIndex 
-       LayoutFileList::addLocalLayout(string const & textclass, string const & path)
+LayoutFileIndex  LayoutFileList::addLocalLayout(
+       string const & textclass, string const & path)
 {
        // FIXME  There is a bug here: 4593
        //
@@ -321,7 +323,8 @@ LayoutFileIndex
                        return textclass;
                }
        }
-       // If .layout is not in local directory, or an invalid layout is found, return null
+       // If .layout is not in local directory, or an invalid layout
+       // is found, return null
        return string();
 }