On Fri, Mar 19, 2004 at 07:39:32PM +0100, Andre Poenitz wrote:
> On Thu, Mar 18, 2004 at 03:46:03PM -0800, Kayvan A. Sylvan wrote:
> > $ lyx --export pdf evidence_TS3150.lyx
> > Buffer::Buffer()
> > Assertion triggered in BufferView* LyXText::bv() const by failing check "bv_owner 
> > != 0" in file ../../lyx/src/text.C:171
> > Aborted (core dumped)
> 
> I can confirm this.
> 
> The solution is to change src/tabular.C to

I can verify the fix.

A cvs diff patch is attached.

-- 
Kayvan A. Sylvan          | Proud husband of       | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Index: src/tabular.C
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/tabular.C,v
retrieving revision 1.205
diff -u -r1.205 tabular.C
--- src/tabular.C       2004/02/20 17:19:49     1.205
+++ src/tabular.C       2004/03/21 05:21:13
@@ -2007,7 +2007,8 @@
                ret += TeXCellPreamble(os, cell);
                InsetText & inset = getCellInset(cell);
 
-               bool rtl = inset.text_.isRTL(inset.paragraphs().front())
+               Paragraph & par = inset.paragraphs().front();
+               bool rtl = par.isRightToLeftPar(buf.params())
                        && !inset.paragraphs().begin()->empty()
                        && getPWidth(cell).zero();
 

Reply via email to