mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
paintText(): replace the test on BufferView::buffer() with an assertion as this should not happen anyway.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15557 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
128a8ef3e8
commit
97c3e3f33c
@ -898,9 +898,7 @@ void paintPar
|
||||
void paintText(BufferView & bv, ViewMetricsInfo const & vi,
|
||||
Painter & pain)
|
||||
{
|
||||
if (!bv.buffer())
|
||||
return;
|
||||
|
||||
BOOST_ASSERT(bv.buffer());
|
||||
LyXText & text = bv.buffer()->text();
|
||||
bool const select = bv.cursor().selection();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user