From d166ee869955034ebb39850d9ebe09ce1be30a9f Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Sat, 1 Sep 2007 22:01:34 +0000 Subject: [PATCH] Temporarily remove the assertion because it doesn't work on new doc. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19983 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/TextMetrics.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/TextMetrics.cpp b/src/TextMetrics.cpp index 7efa2e9436..0e3a5be980 100644 --- a/src/TextMetrics.cpp +++ b/src/TextMetrics.cpp @@ -315,7 +315,9 @@ void TextMetrics::computeRowMetrics(pit_type const pit, Paragraph const & par = text_->getPar(pit); double w = dim_.wid - row.width(); - BOOST_ASSERT(w >= 0); + // FIXME: put back this assertion when the crash on new doc is solved. + //BOOST_ASSERT(w >= 0); + //lyxerr << "\ndim_.wid " << dim_.wid << endl; //lyxerr << "row.width() " << row.width() << endl; //lyxerr << "w " << w << endl; -- 2.39.5