[Libreoffice-commits] .: vcl/win

Andras Timar timar at kemper.freedesktop.org
Wed Feb 1 06:57:10 PST 2012


 vcl/win/source/app/salinst.cxx |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

New commits:
commit 56549a939cdf3a2510bbdba21b72632a4f238cf5
Author: Andras Timar <atimar at suse.com>
Date:   Wed Feb 1 15:56:34 2012 +0100

    ByteString -> OUString

diff --git a/vcl/win/source/app/salinst.cxx b/vcl/win/source/app/salinst.cxx
index d0a6bd0..d491404 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() );
     }
 }
 


More information about the Libreoffice-commits mailing list