remove file_format from buffer.h

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7469 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
José Matox 2003-08-01 10:23:16 +00:00
parent 15f13c79ed
commit aa848b8ccf
3 changed files with 4 additions and 3 deletions

View 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>

View 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

View 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: