summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/win')
-rw-r--r--vcl/win/source/app/salinst.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/vcl/win/source/app/salinst.cxx b/vcl/win/source/app/salinst.cxx
index d0a6bd0570e4..d491404cd125 100644
--- a/vcl/win/source/app/salinst.cxx
+++ b/vcl/win/source/app/salinst.cxx
@@ -87,16 +87,15 @@ void SalAbort( const rtl::OUString& rErrorText, bool )
if ( rErrorText.isEmpty() )
{
- // #112255# make sure crash reporter is triggered
+ // make sure crash reporter is triggered
RaiseException( 0, EXCEPTION_NONCONTINUABLE, 0, NULL );
- FatalAppExit( 0, "Application Error" );
+ FatalAppExitW( 0, L"Application Error" );
}
else
{
- // #112255# make sure crash reporter is triggered
+ // make sure crash reporter is triggered
RaiseException( 0, EXCEPTION_NONCONTINUABLE, 0, NULL );
- ByteString aErrorText( ImplSalGetWinAnsiString( rErrorText ) );
- FatalAppExit( 0, aErrorText.GetBuffer() );
+ FatalAppExitW( 0, rErrorText.getStr() );
}
}