summaryrefslogtreecommitdiff
path: root/src/xml/sax/qxml.h
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-07-28 18:16:36 +0200
committerVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-07-28 18:16:36 +0200
commit5c11a736367a854c3c201c31265f96e8153f20f5 (patch)
treead8b742c3738886e8083d27130b538a7048d6520 /src/xml/sax/qxml.h
parentb5bcc529f67458c98571d3b726c9d173512aac27 (diff)
downloadqt4-tools-5c11a736367a854c3c201c31265f96e8153f20f5.tar.gz
Implement a copy constructor for QXmlParseException to avoid crashes when
throwing them. Autotest included. Task: 258081 Reviewed-by: Trustme
Diffstat (limited to 'src/xml/sax/qxml.h')
-rw-r--r--src/xml/sax/qxml.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xml/sax/qxml.h b/src/xml/sax/qxml.h
index 8aa7e63d1d..6ccd44ea4d 100644
--- a/src/xml/sax/qxml.h
+++ b/src/xml/sax/qxml.h
@@ -193,6 +193,7 @@ class Q_XML_EXPORT QXmlParseException
public:
explicit QXmlParseException(const QString &name = QString(), int c = -1, int l = -1,
const QString &p = QString(), const QString &s = QString());
+ QXmlParseException(const QXmlParseException &other);
~QXmlParseException();
int columnNumber() const;