]> git.lyx.org Git - lyx.git/blobdiff - src/buffer.C
remove noload/don't typeset
[lyx.git] / src / buffer.C
index 086129577082ae50e2e40ad54fe8b6fe19ef0774..7538be4e6d7a6863ccca7c86a34aa0eac20e53ca 100644 (file)
@@ -1159,8 +1159,8 @@ bool Buffer::readFile(LyXLex & lex, Paragraph * par)
                        } else if (file_format > LYX_FORMAT) {
                                // future format
                                Alert::alert(_("Warning!"),
-                                          _("LyX file format is newer that what"),
-                                          _("is supported in this LyX version. Expect some problems."));
+                                       _("The file was created with a newer version of"
+                                       "LyX. This is likely to cause problems."));
 
                        } else if (file_format < LYX_FORMAT) {
                                // old formats
@@ -3151,26 +3151,6 @@ void Buffer::validate(LaTeXFeatures & features) const
 }
 
 
-// This function should be in Buffer because it's a buffer's property (ale)
-string const Buffer::getIncludeonlyList(char delim)
-{
-       string lst;
-       for (inset_iterator it = inset_iterator_begin();
-           it != inset_iterator_end(); ++it) {
-               if (it->lyxCode() == Inset::INCLUDE_CODE) {
-                       InsetInclude & inc = static_cast<InsetInclude &>(*it);
-                       if (inc.isIncludeOnly()) {
-                               if (!lst.empty())
-                                       lst += delim;
-                               lst += inc.getRelFileBaseName();
-                       }
-               }
-       }
-       lyxerr[Debug::INFO] << "Includeonly(" << lst << ')' << endl;
-       return lst;
-}
-
-
 vector<string> const Buffer::getLabelList() const
 {
        /// if this is a child document and the parent is already loaded