From d8e1ce857bedb9d018ae0918b4c90686d604c2df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Mon, 24 Jun 2013 19:58:32 +0200 Subject: RPM Packaging: add 3.5.13.2 build patches --- .../koffice-3.5.13.2-fix_wpd_09_support_2.patch | 88 ++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 redhat/applications/koffice/koffice-3.5.13.2-fix_wpd_09_support_2.patch (limited to 'redhat/applications/koffice/koffice-3.5.13.2-fix_wpd_09_support_2.patch') diff --git a/redhat/applications/koffice/koffice-3.5.13.2-fix_wpd_09_support_2.patch b/redhat/applications/koffice/koffice-3.5.13.2-fix_wpd_09_support_2.patch new file mode 100644 index 000000000..a024f98b4 --- /dev/null +++ b/redhat/applications/koffice/koffice-3.5.13.2-fix_wpd_09_support_2.patch @@ -0,0 +1,88 @@ +--- trinity-koffice-3.5.13.2/filters/kword/wordperfect/import/WordPerfectCollector.hxx.wpd2 2013-04-08 12:28:49.159409461 +0200 ++++ trinity-koffice-3.5.13.2/filters/kword/wordperfect/import/WordPerfectCollector.hxx 2013-04-08 12:29:01.170158682 +0200 +@@ -81,7 +81,7 @@ + class WordPerfectCollector : public WPXDocumentInterface + #else // HAVE_LIBWPD_090 + class WordPerfectCollector : public WPXHLListenerImpl +-#endif HAVE_LIBWPD_090 ++#endif // HAVE_LIBWPD_090 + { + public: + WordPerfectCollector(WPXInputStream *pInput, DocumentHandler *pHandler); +@@ -93,12 +93,12 @@ + virtual void startDocument(); + virtual void endDocument(); + virtual void definePageStyle(const WPXPropertyList &propList) {}; +- virtual void openPageSpan(const WPXPropertyList &propList) {}; +- virtual void closePageSpan() {}; +- virtual void openHeader(const WPXPropertyList &propList) {}; +- virtual void closeHeader() {}; +- virtual void openFooter(const WPXPropertyList &propList) {}; +- virtual void closeFooter() {}; ++ virtual void openPageSpan(const WPXPropertyList &propList); ++ virtual void closePageSpan(); ++ virtual void openHeader(const WPXPropertyList &propList); ++ virtual void closeHeader(); ++ virtual void openFooter(const WPXPropertyList &propList); ++ virtual void closeFooter(); + virtual void defineParagraphStyle(const WPXPropertyList &propList, const WPXPropertyListVector &tabStops) {}; + virtual void openParagraph(const WPXPropertyList &propList, const WPXPropertyListVector &tabStops); + virtual void closeParagraph(); +@@ -106,36 +106,36 @@ + virtual void openSpan(const WPXPropertyList &propList); + virtual void closeSpan(); + virtual void defineSectionStyle(const WPXPropertyList &propList, const WPXPropertyListVector &columns) {}; +- virtual void openSection(const WPXPropertyList &propList, const WPXPropertyListVector &columns) {}; +- virtual void closeSection() {}; ++ virtual void openSection(const WPXPropertyList &propList, const WPXPropertyListVector &columns); ++ virtual void closeSection(); + virtual void insertTab(); + virtual void insertSpace() {}; + virtual void insertText(const WPXString &text); + virtual void insertLineBreak(); + virtual void insertField(const WPXString &type, const WPXPropertyList &propList) {}; +- virtual void defineOrderedListLevel(const WPXPropertyList &propList) {}; +- virtual void defineUnorderedListLevel(const WPXPropertyList &propList) {}; +- virtual void openOrderedListLevel(const WPXPropertyList &propList) {}; +- virtual void openUnorderedListLevel(const WPXPropertyList &propList) {}; +- virtual void closeOrderedListLevel() {}; +- virtual void closeUnorderedListLevel() {}; +- virtual void openListElement(const WPXPropertyList &propList, const WPXPropertyListVector &tabStops) {}; +- virtual void closeListElement() {}; +- virtual void openFootnote(const WPXPropertyList &propList) {}; +- virtual void closeFootnote() {}; +- virtual void openEndnote(const WPXPropertyList &propList) {}; +- virtual void closeEndnote() {}; ++ virtual void defineOrderedListLevel(const WPXPropertyList &propList); ++ virtual void defineUnorderedListLevel(const WPXPropertyList &propList); ++ virtual void openOrderedListLevel(const WPXPropertyList &propList); ++ virtual void openUnorderedListLevel(const WPXPropertyList &propList); ++ virtual void closeOrderedListLevel(); ++ virtual void closeUnorderedListLevel(); ++ virtual void openListElement(const WPXPropertyList &propList, const WPXPropertyListVector &tabStops); ++ virtual void closeListElement(); ++ virtual void openFootnote(const WPXPropertyList &propList); ++ virtual void closeFootnote(); ++ virtual void openEndnote(const WPXPropertyList &propList); ++ virtual void closeEndnote(); + virtual void openComment(const WPXPropertyList &propList) {}; + virtual void closeComment() {}; + virtual void openTextBox(const WPXPropertyList &propList) {}; + virtual void closeTextBox() {}; +- virtual void openTable(const WPXPropertyList &propList, const WPXPropertyListVector &columns) {}; +- virtual void openTableRow(const WPXPropertyList &propList) {}; +- virtual void closeTableRow() {}; +- virtual void openTableCell(const WPXPropertyList &propList) {}; +- virtual void closeTableCell() {}; +- virtual void insertCoveredTableCell(const WPXPropertyList &propList) {}; +- virtual void closeTable() {}; ++ virtual void openTable(const WPXPropertyList &propList, const WPXPropertyListVector &columns); ++ virtual void openTableRow(const WPXPropertyList &propList); ++ virtual void closeTableRow(); ++ virtual void openTableCell(const WPXPropertyList &propList); ++ virtual void closeTableCell(); ++ virtual void insertCoveredTableCell(const WPXPropertyList &propList); ++ virtual void closeTable(); + virtual void openFrame(const WPXPropertyList &propList) {}; + virtual void closeFrame() {}; + virtual void insertBinaryObject(const WPXPropertyList &propList, const WPXBinaryData &data) {}; -- cgit v1.2.1