summaryrefslogtreecommitdiff
path: root/external/libetonyek/0001-fix-brain-fart.patch.1
blob: 441e275c5f453fd091df5c270334d90a2a5514e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From 649f459c499ceab07446ed913ae661c31e13044a Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
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