]> git.lyx.org Git - lyx.git/blobdiff - src/layout.C
update all .po files ot latestes pot
[lyx.git] / src / layout.C
index 4fd40f1107958343bae5326f750c61e2b8437445..bad3b274118812ec634e630be50b5cb6c8520857 100644 (file)
@@ -30,6 +30,8 @@ using std::pair;
 using std::make_pair;
 using std::sort;
 using std::endl;
+using std::find_if;
+using std::remove_if;
 
 // Global variable: textclass table.
 LyXTextClassList textclasslist;
@@ -871,7 +873,7 @@ bool LyXTextClass::Read(string const & filename, bool merge)
                                        error = do_readStyle(lexrc, lay);
                                } else {
                                        LyXLayout lay;
-                                       lay.name(name);
+                                       lay.setName(name);
                                        if (!(error = do_readStyle(lexrc, lay)))
                                                layoutlist.push_back(lay);
                                }