From 2b7c1216145c1cc498e3cdebe9080cecdb1c4094 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Fri, 16 Apr 2010 17:22:25 +0000 Subject: [PATCH] Simplify texrow git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34169 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Paragraph.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index c47718c3d5..3d3e2582a4 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -846,9 +846,7 @@ void Paragraph::Private::latexInset( } if (tmp) { - for (int j = 0; j < tmp; ++j) - texrow.newline(); - + texrow.newlines(tmp); texrow.start(owner_->id(), i + 1); column = 0; } else { -- 2.39.5