summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-11-20 12:58:43 +0100
committerMichael Stahl <mstahl@redhat.com>2014-11-20 13:00:04 +0100
commitfc6be0ba3f74f46ce4eb7829ee91cd98179fb627 (patch)
tree96729615b7e14250d9d68d954d2f75adb770a5e4 /sal
parenta669de9c151692a8c24929641a7c12617b1bf458 (diff)
sal: fix build with clang and --enable-crashdump
Change-Id: I148005489e4ef31b55886c1dd3076650d3a2ec17
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/signal.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sal/osl/unx/signal.cxx b/sal/osl/unx/signal.cxx
index b5de273ab968..c97162b1a0ec 100644
--- a/sal/osl/unx/signal.cxx
+++ b/sal/osl/unx/signal.cxx
@@ -480,8 +480,8 @@ static int ReportCrash( int Signal )
#define REPORTENV_PARAM "-crashreportenv:"
- static sal_Bool bCrashReporterExecuted = sal_False;
- sal_Bool bAutoCrashReport = sal_False;
+ static bool bCrashReporterExecuted = false;
+ bool bAutoCrashReport = false;
sal_uInt32 argi;
sal_uInt32 argc;
@@ -503,7 +503,7 @@ static int ReportCrash( int Signal )
}
else if ( 0 == rtl_ustr_ascii_compare( rtl_uString_getStr( ustrCommandArg ), "--autocrashreport" ) )
{
- bAutoCrashReport = sal_True;
+ bAutoCrashReport = true;
}
else if ( 0 == rtl_ustr_ascii_shortenedCompare_WithLength(
rtl_uString_getStr( ustrCommandArg ), rtl_uString_getLength( ustrCommandArg ),
@@ -784,7 +784,7 @@ static int ReportCrash( int Signal )
if ( -1 != ret )
{
- bCrashReporterExecuted = sal_True;
+ bCrashReporterExecuted = true;
return 1;
}
else