diff options
author | Albert Astals Cid <aacid@kde.org> | 2009-10-02 22:02:13 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2009-10-02 22:07:24 +0200 |
commit | b98faa4c162392d9416a5a93c9042b41f82d8657 (patch) | |
tree | e9da932a7bcdf6b9227a390e7bd8d44843353cf4 /test | |
parent | f73f59f2c7bb7c7d57eb70cdc1bc30b80a92d0b7 (diff) |
Return the save status as program status
Diffstat (limited to 'test')
-rw-r--r-- | test/pdf-fullrewrite.cc | 3 |
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; } |