Small tidy up of preview code, part I.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4654 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-07-16 18:10:03 +00:00
parent 830ef843a6
commit 4432148136
2 changed files with 6 additions and 1 deletions

View File

@ -242,7 +242,7 @@ void BufferView::Pimpl::buffer(Buffer * b)
owner_->updateWindowTitle();
if (grfx::Previews::activated() && buffer_)
grfx::Previews::get().generateBufferPreviews(buffer_);
grfx::Previews::get().generateBufferPreviews(*buffer_);
}

View File

@ -1,3 +1,8 @@
2002-07-16 Angus Leeming <leeming@lyx.org>
* BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
now takes a Buffer const & argument.
2002-07-15 John Levon <moz@compsoc.man.ac.uk>
* BufferView.C (resize): check there's a buffer to resize