summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestlightxmlstreamer.h
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-07-30 00:53:28 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2009-07-30 04:54:44 (GMT)
commit79ed97b8298e3c7e3c7d266c905024affeba7258 (patch)
tree9306b4a8bcaface2c243217aa3bc527aa553ef2f /src/testlib/qtestlightxmlstreamer.h
parenta92117be4323e26efe3f13b5c624e5010a7cd26a (diff)
downloadQt-79ed97b8298e3c7e3c7d266c905024affeba7258.zip
Qt-79ed97b8298e3c7e3c7d266c905024affeba7258.tar.gz
Qt-79ed97b8298e3c7e3c7d266c905024affeba7258.tar.bz2
Make QTestBasicStreamer use dynamically allocated strings.
This commit contains the bare minimum needed for the API to use dynamic allocation; some parts of the code still use static buffers and therefore have constraints on the size of output messages. Task: 253861 Reviewed-by: Michael Goddard
Diffstat (limited to 'src/testlib/qtestlightxmlstreamer.h')
-rw-r--r--src/testlib/qtestlightxmlstreamer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testlib/qtestlightxmlstreamer.h b/src/testlib/qtestlightxmlstreamer.h
index 5a16327..6dafdcc 100644
--- a/src/testlib/qtestlightxmlstreamer.h
+++ b/src/testlib/qtestlightxmlstreamer.h
@@ -59,9 +59,9 @@ class QTestLightXmlStreamer: public QTestBasicStreamer
QTestLightXmlStreamer();
~QTestLightXmlStreamer();
- void formatStart(const QTestElement *element = 0, char *formatted = 0) const;
- void formatEnd(const QTestElement *element = 0, char *formatted = 0) const;
- void formatBeforeAttributes(const QTestElement *element = 0, char *formatted = 0) const;
+ void formatStart(const QTestElement *element, char **formatted) const;
+ void formatEnd(const QTestElement *element, char **formatted) const;
+ void formatBeforeAttributes(const QTestElement *element, char **formatted) const;
void output(QTestElement *element) const;
};