mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 14:15:32 +00:00
* first check if empty, then set the pit. Otherwise we have a segfault before the assert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22808 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
08d9375572
commit
fae0a30802
@ -385,8 +385,8 @@ bool TextMetrics::redoParagraph(pit_type const pit)
|
||||
<< " the context is better then.");
|
||||
updateLabels(bv_->buffer());
|
||||
parPos = text_->macrocontextPosition();
|
||||
parPos.pit() = pit;
|
||||
BOOST_ASSERT(!parPos.empty());
|
||||
parPos.pit() = pit;
|
||||
}
|
||||
|
||||
// redo insets
|
||||
|
Loading…
Reference in New Issue
Block a user