From 1626b6e60c0a15eedab6694ccd44a0c387f0dfd3 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sun, 20 Apr 2008 17:02:00 +0000 Subject: [PATCH] Fix bug 4754. The old missing negation problem.... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24392 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/TextMetrics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TextMetrics.cpp b/src/TextMetrics.cpp index c1965cb5ee..7abe5f6965 100644 --- a/src/TextMetrics.cpp +++ b/src/TextMetrics.cpp @@ -1905,7 +1905,7 @@ int TextMetrics::leftMargin(int max_width, && !(!par.empty() && par.isInset(pos) && par.getInset(pos)->display()) - && ((tclass.isDefaultLayout(par.layout()) + && (!(tclass.isDefaultLayout(par.layout()) || tclass.isEmptyLayout(par.layout())) || buffer.params().paragraph_separation == BufferParams::ParagraphIndentSeparation) )