summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorJesús Corrius <jesus@softcatala.org>2012-02-02 12:00:02 +0100
committerJesús Corrius <jesus@softcatala.org>2012-02-02 12:00:30 +0100
commit244899285bfc515cca0a323f4aecf06b00342848 (patch)
tree0773dc8c4db2b8efea4efe8cd09d25234f6b1aaf /vcl/win
parentfe5640594eea2637b720f7311eed0c4f218a6893 (diff)
Try to fix the MinGW build with a simple solution
Diffstat (limited to 'vcl/win')
-rw-r--r--vcl/win/source/app/salinst.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/source/app/salinst.cxx b/vcl/win/source/app/salinst.cxx
index d491404cd125..be7000873f0c 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()) );
}
}