Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit dc83cc01 authored by Ariya Hidayat's avatar Ariya Hidayat

use define instead of typedef, this allows forward declaration

(as requested and hinted by Thorsten)

svn path=/trunk/koffice/; revision=664181
parent e900445f
......@@ -33,12 +33,12 @@ class QTextDecoder;
#ifdef KOXML_USE_QDOM
typedef QDomNode KoXmlNode;
typedef QDomElement KoXmlElement;
typedef QDomText KoXmlText;
typedef QDomCDATASection KoXmlCDATASection;
typedef QDomDocumentType KoXmlDocumentType;
typedef QDomDocument KoXmlDocument;
#define KoXmlNode QDomNode
#define KoXmlElement QDomElement
#define KoXmlText QDomText
#define KoXmlCDATASection QDomCDATASection
#define KoXmlDocumentType QDomDocumentType
#define KoXmlDocument QDomDocument
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment