insetlof.h \
insetlot.C \
insetlot.h \
+ insetmarginal.h \
+ insetmarginal.C \
insetparent.C \
insetparent.h \
insetquotes.C \
Inset * InsetFoot::Clone() const
{
- InsetFoot * result = new InsetFoot();
+ InsetFoot * result = new InsetFoot;
result->init(this);
result->collapsed = collapsed;
}
-string const LyXLex::GetString() const
+string LyXLex::GetString() const
{
return pimpl_->GetString();
}
///
float GetFloat() const;
///
- string const GetString() const;
+ string GetString() const;
/**
* Get a long string, ended by the tag `endtag'
}
-string const LyXLex::Pimpl::GetString() const
+string LyXLex::Pimpl::GetString() const
{
return string(buff);
}
bool LyXLex::Pimpl::setFile(string const & filename)
{
- if (fb__.is_open())
- lyxerr << "Error in LyXLex::setFile: "
- "file or stream already set." << endl;
+ //if (fb__.is_open())
+ // lyxerr << "Error in LyXLex::setFile: "
+ // "file or stream already set." << endl;
fb__.open(filename.c_str(), ios::in);
- is.rdbuf(&fb__);
+ //is.rdbuf(&fb__);
name = filename;
lineno = 0;
return fb__.is_open() && is.good();
Pimpl(keyword_item * tab, int num);
- string const GetString() const;
+ string GetString() const;
void printError(string const & message) const;
// bind files are not done here.
case RC_BEGINTOOLBAR:
// Toolbar is not written here (yet).
- case RC_SET_COLOR:
+ //case RC_SET_COLOR:
// color bindings not written to preference file.
+ // And we want to be warned about that. (Lgb)
case RC_FONT_ENCODING:
os << "\\font_encoding \"" << fontenc << "\"\n";
case RC_PRINTER: