diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-12-10 16:11:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-10 16:32:54 +0000 |
commit | 56dd29dbd60005d3dc5d1929e8d7049364418c10 (patch) | |
tree | 05d618061bd7dc0f6bfea5916962535645b9a6f8 /vcl/workben | |
parent | b75f3f82f82676784f79c9624bfc8914e23d15d6 (diff) |
propogate exit code out to main
Diffstat (limited to 'vcl/workben')
-rw-r--r-- | vcl/workben/outdevgrind.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/vcl/workben/outdevgrind.cxx b/vcl/workben/outdevgrind.cxx index 1951684b2747..fb1709b98765 100644 --- a/vcl/workben/outdevgrind.cxx +++ b/vcl/workben/outdevgrind.cxx @@ -74,7 +74,7 @@ namespace class GrindApp : public Application { public: - virtual void Main(); + virtual int Main(); virtual USHORT Exception( USHORT nError ); }; @@ -915,7 +915,7 @@ USHORT GrindApp::Exception( USHORT nError ) return 0; } -void GrindApp::Main() +int GrindApp::Main() { bool bHelp = false; @@ -931,7 +931,7 @@ void GrindApp::Main() if( bHelp ) { printf( "outdevgrind - Profile OutputDevice\n" ); - return; + return EXIT_SUCCESS; } //------------------------------------------------- @@ -968,6 +968,7 @@ void GrindApp::Main() // clean up UCB ::ucbhelper::ContentBroker::deinitialize(); + return EXIT_SUCCESS; } } // namespace |