mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
fix segmentation fault
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10437 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3382c78af9
commit
58934cde15
@ -1,3 +1,7 @@
|
||||
2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
|
||||
* text.C (leftMargin): check for inInset == 0
|
||||
|
||||
2005-08-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||
|
||||
* text.C (leftMargin): test for insetbase's new neverIndent()
|
||||
|
@ -592,7 +592,7 @@ int LyXText::leftMargin(pit_type const pit, pos_type const pos) const
|
||||
&& align == LYX_ALIGN_BLOCK
|
||||
&& !par.params().noindent()
|
||||
// in some insets, paragraphs are never indented
|
||||
&& !par.inInset()->neverIndent()
|
||||
&& !(par.inInset() && par.inInset()->neverIndent())
|
||||
// display style insets are always centered, omit indentation
|
||||
&& !(!par.empty()
|
||||
&& par.isInset(pos)
|
||||
|
Loading…
Reference in New Issue
Block a user