mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
Kayvan's patch (crash fix)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8507 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
87a0c7598f
commit
f16a17fa42
@ -1,4 +1,8 @@
|
||||
|
||||
2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
|
||||
|
||||
* tabular.C (TeXRow): crash fix (from Kayvan and André)
|
||||
|
||||
2004-03-19 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
* cursor.[Ch] (reset): take main text inset as argument
|
||||
|
@ -2007,7 +2007,8 @@ int LyXTabular::TeXRow(ostream & os, int i, Buffer const & buf,
|
||||
ret += TeXCellPreamble(os, cell);
|
||||
InsetText & inset = getCellInset(cell);
|
||||
|
||||
bool rtl = inset.text_.isRTL(inset.paragraphs().front())
|
||||
Paragraph const & par = inset.paragraphs().front();
|
||||
bool rtl = par.isRightToLeftPar(buf.params())
|
||||
&& !inset.paragraphs().begin()->empty()
|
||||
&& getPWidth(cell).zero();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user