[Libreoffice-commits] .: vcl/win

Jesús Corrius jcorrius at kemper.freedesktop.org
Thu Feb 2 03:04:27 PST 2012


 vcl/win/source/app/salinst.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 244899285bfc515cca0a323f4aecf06b00342848
Author: Jesús Corrius <jesus at softcatala.org>
Date:   Thu Feb 2 12:00:02 2012 +0100

    Try to fix the MinGW build with a simple solution

diff --git a/vcl/win/source/app/salinst.cxx b/vcl/win/source/app/salinst.cxx
index d491404..be70008 100644
--- a/vcl/win/source/app/salinst.cxx
+++ b/vcl/win/source/app/salinst.cxx
@@ -95,7 +95,7 @@ void SalAbort( const rtl::OUString& rErrorText, bool )
     {
         // make sure crash reporter is triggered
         RaiseException( 0, EXCEPTION_NONCONTINUABLE, 0, NULL );
-        FatalAppExitW( 0, rErrorText.getStr() );
+        FatalAppExitW( 0, reinterpret_cast<LPCWSTR>(rErrorText.getStr()) );
     }
 }
 


More information about the Libreoffice-commits mailing list