summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2009-10-02 22:02:13 +0200
committerAlbert Astals Cid <aacid@kde.org>2009-10-02 22:07:24 +0200
commitb98faa4c162392d9416a5a93c9042b41f82d8657 (patch)
treee9da932a7bcdf6b9227a390e7bd8d44843353cf4 /test
parentf73f59f2c7bb7c7d57eb70cdc1bc30b80a92d0b7 (diff)
Return the save status as program status
Diffstat (limited to 'test')
-rw-r--r--test/pdf-fullrewrite.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/pdf-fullrewrite.cc b/test/pdf-fullrewrite.cc
index 89511f02..9658e55a 100644
--- a/test/pdf-fullrewrite.cc
+++ b/test/pdf-fullrewrite.cc
@@ -37,9 +37,10 @@ int main (int argc, char *argv[])
}
- doc->saveAs(outputName, writeForceRewrite);
+ int res = doc->saveAs(outputName, writeForceRewrite);
delete doc;
delete globalParams;
delete outputName;
+ return res;
}