Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / external / libetonyek / 0001-fix-brain-fart.patch.1
blob441e275c5f453fd091df5c270334d90a2a5514e3
1 From 649f459c499ceab07446ed913ae661c31e13044a Mon Sep 17 00:00:00 2001
2 From: David Tardon <dtardon@redhat.com>
3 Date: Thu, 14 Jan 2016 09:16:16 +0100
4 Subject: [PATCH] fix brain fart
6 Change-Id: If7c5e3c6cebe2f97f1c9f5793cf25cea135a7735
7 ---
8  src/lib/IWORKText.cpp | 4 ++--
9  1 file changed, 2 insertions(+), 2 deletions(-)
11 diff --git a/src/lib/IWORKText.cpp b/src/lib/IWORKText.cpp
12 index 20d7c5b..ef34b4b 100644
13 --- a/src/lib/IWORKText.cpp
14 +++ b/src/lib/IWORKText.cpp
15 @@ -763,7 +763,7 @@ void IWORKText::insertBlockContent(const IWORKOutputElements &elements)
16  {
17    if (m_inPara)
18      closePara();
19 -  if (!m_inSection and needsSection())
20 +  if (!m_inSection && needsSection())
21      openSection();
22    m_elements.append(elements);
23    m_ignoreEmptyPara = true;
24 @@ -817,7 +817,7 @@ void IWORKText::openPara()
25  {
26    assert(!m_inPara);
28 -  if (!m_inSection and needsSection())
29 +  if (!m_inSection && needsSection())
30      openSection();
31    handleListLevelChange(m_listLevel);
33 -- 
34 2.5.0