]> git.lyx.org Git - features.git/commitdiff
remove file_format from buffer.h
authorJosé Matox <jamatos@lyx.org>
Fri, 1 Aug 2003 10:23:16 +0000 (10:23 +0000)
committerJosé Matox <jamatos@lyx.org>
Fri, 1 Aug 2003 10:23:16 +0000 (10:23 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7469 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/buffer.C
src/buffer.h

index f399b1ab5842899eec0c7ae94c29ff4e4abe4c2b..1015416b2f86836e12b5eeb9a7a251c817ef43a2 100644 (file)
@@ -1,3 +1,6 @@
+2003-08-01  José Matos  <jamatos@lyx.org>
+
+       * buffer.[Ch]: file_format is no longer a buffer data element.
 
 2003-07-30  André Pönitz  <poenitz@gmx.net>
 
index eea4099fed1e050636079027c6dd84ea76ef55a4..12f4c75b1526ce9c9efa89c2a52f76d4a414d107 100644 (file)
@@ -498,7 +498,7 @@ bool Buffer::readFile(LyXLex & lex, string const & filename,
        //lyxerr << "           dot found at " << dot << endl;
        if (dot != string::npos)
                        tmp_format.erase(dot, 1);
-       file_format = strToInt(tmp_format);
+       int file_format = strToInt(tmp_format);
        //lyxerr << "format: " << file_format << endl;
        if (file_format == LYX_FORMAT) {
                // current format
index 4c28a12014c28e46d2a95492102ba179103c3948..75f6e0530f2a0c35e10c1c8100ac8d6f75b6169c 100644 (file)
@@ -317,8 +317,6 @@ private:
        /// The path to the document file.
        string filepath_;
 
-       /// Format number of buffer
-       int file_format;
        ///
        boost::scoped_ptr<Messages> messages_;
 public: