mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
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:
parent
15f13c79ed
commit
aa848b8ccf
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user