summaryrefslogtreecommitdiff
path: root/extra/calligra/fix-docx-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/calligra/fix-docx-support.patch')
-rw-r--r--extra/calligra/fix-docx-support.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/extra/calligra/fix-docx-support.patch b/extra/calligra/fix-docx-support.patch
new file mode 100644
index 000000000..304e200e3
--- /dev/null
+++ b/extra/calligra/fix-docx-support.patch
@@ -0,0 +1,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
+