Fix compilation properly this time...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7731 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2003-09-10 14:40:31 +00:00
parent 22aa494eba
commit d273b0b94c

View File

@ -224,7 +224,7 @@ void GToolbar::update()
void GToolbar::setLayout(string const & layout)
{
LyXTextClass const & tc =
view_->buffer()->params.getLyXTextClass();
view_->buffer()->params().getLyXTextClass();
internal_ = true;
combo_.get_entry()->set_text(tc[layout]->name());
internal_ = false;
@ -234,7 +234,7 @@ void GToolbar::setLayout(string const & layout)
void GToolbar::updateLayoutList()
{
LyXTextClass const & tc =
view_->buffer()->params.getLyXTextClass();
view_->buffer()->params().getLyXTextClass();
LyXTextClass::const_iterator end = tc.end();
std::vector<Glib::ustring> strings;
for (LyXTextClass::const_iterator cit = tc.begin();