Remove Q_ASSERT from QTextOdfWriter autotest
authorJason McDonald <jason.mcdonald@nokia.com>
Tue, 3 May 2011 05:47:55 +0000 (15:47 +1000)
committerRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 18 May 2011 00:46:43 +0000 (10:46 +1000)
commitfd714ec5aa3418b55c7c8bf7d77cbdb2a6798135
tree75dd895fd0b3a5dbbeccf84301a6e8d3f0ac6a19
parentc0372871f8f8493ac1b59b800caed4b55d1c9b6f
Remove Q_ASSERT from QTextOdfWriter autotest

If the <dummy> tag can't be found in the data, return an empty string
rather than asserting, so that the test fails gracefully.

Change-Id: I536f08c9c3e942817680849d96d035999d4994db
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit a88dd1c5f62b5ded8ea0d76d185127ef28549c72)
tests/auto/qtextodfwriter/tst_qtextodfwriter.cpp