diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-03-24 00:22:15 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-03-26 19:00:17 +0200 |
commit | 59c83ffb05865a5e492c3204228e85ca006e2b5b (patch) | |
tree | dc114ae87d9c0248f46713694c799772e3e92330 /vcl | |
parent | Try kCGImageAlphaNoneSkipLast (diff) | |
download | core-59c83ffb05865a5e492c3204228e85ca006e2b5b.tar.gz core-59c83ffb05865a5e492c3204228e85ca006e2b5b.zip |
Don't exit intentionally
Change-Id: I1d4c7dbc8ed9254e92d097454704c811ba1532f1
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/ios/iosinst.cxx | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/vcl/ios/iosinst.cxx b/vcl/ios/iosinst.cxx index 3ce3a6562d0a..b2178e99ef30 100644 --- a/vcl/ios/iosinst.cxx +++ b/vcl/ios/iosinst.cxx @@ -236,21 +236,16 @@ void InitSalData() {} void DeInitSalData() {} void InitSalMain() {} -void SalAbort( const rtl::OUString& rErrorText, bool bDumpCore ) +void SalAbort( const OUString& rErrorText, bool bDumpCore ) { - rtl::OUString aError( rErrorText ); - if( aError.isEmpty() ) - aError = rtl::OUString::createFromAscii("Unknown application error"); - - if( bDumpCore ) - abort(); - else - _exit(1); + (void) bDumpCore; + + NSLog(@"SalAbort: %s", OUStringToOString(rErrorText, osl_getThreadTextEncoding()).getStr() ); } const OUString& SalGetDesktopEnvironment() { - static rtl::OUString aEnv( "android" ); + static OUString aEnv( "iOS" ); return aEnv; } |