From 649f459c499ceab07446ed913ae661c31e13044a Mon Sep 17 00:00:00 2001 From: David Tardon Date: Thu, 14 Jan 2016 09:16:16 +0100 Subject: [PATCH] fix brain fart Change-Id: If7c5e3c6cebe2f97f1c9f5793cf25cea135a7735 --- src/lib/IWORKText.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/IWORKText.cpp b/src/lib/IWORKText.cpp index 20d7c5b..ef34b4b 100644 --- a/src/lib/IWORKText.cpp +++ b/src/lib/IWORKText.cpp @@ -763,7 +763,7 @@ void IWORKText::insertBlockContent(const IWORKOutputElements &elements) { if (m_inPara) closePara(); - if (!m_inSection and needsSection()) + if (!m_inSection && needsSection()) openSection(); m_elements.append(elements); m_ignoreEmptyPara = true; @@ -817,7 +817,7 @@ void IWORKText::openPara() { assert(!m_inPara); - if (!m_inSection and needsSection()) + if (!m_inSection && needsSection()) openSection(); handleListLevelChange(m_listLevel); -- 2.5.0