summaryrefslogtreecommitdiff
path: root/extra/calligra/fix-docx-support.patch
blob: 304e200e31e4b46825ceba231db122ca6a3f0e11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/libs/odf/KoXmlWriter.h
+++ b/libs/odf/KoXmlWriter.h
@@ -252,6 +252,14 @@ private:
         Tag(const char* t = 0, bool ind = true)
                 : tagName(t), hasChildren(false), lastChildIsText(false),
                 openingTagClosed(false), indentInside(ind) {}
+        Tag(const Tag &original)
+        {
+            tagName = original.tagName;
+            hasChildren = original.hasChildren;
+            lastChildIsText = original.lastChildIsText;
+            openingTagClosed = original.openingTagClosed;
+            indentInside = original.indentInside;
+        }
         const char* tagName;
         bool hasChildren : 1; ///< element or text children
         bool lastChildIsText : 1; ///< last child is a text node