diff --git a/src/ChangeLog b/src/ChangeLog index f399b1ab58..1015416b2f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,6 @@ +2003-08-01 José Matos + + * buffer.[Ch]: file_format is no longer a buffer data element. 2003-07-30 André Pönitz diff --git a/src/buffer.C b/src/buffer.C index eea4099fed..12f4c75b15 100644 --- a/src/buffer.C +++ b/src/buffer.C @@ -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 diff --git a/src/buffer.h b/src/buffer.h index 4c28a12014..75f6e0530f 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -317,8 +317,6 @@ private: /// The path to the document file. string filepath_; - /// Format number of buffer - int file_format; /// boost::scoped_ptr messages_; public: