From aa848b8ccf2226a9219df9957595a1cea3c49996 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Matox?= Date: Fri, 1 Aug 2003 10:23:16 +0000 Subject: [PATCH] remove file_format from buffer.h git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7469 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 3 +++ src/buffer.C | 2 +- src/buffer.h | 2 -- 3 files changed, 4 insertions(+), 3 deletions(-) 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: -- 2.39.2