diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-05 07:57:51 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-07 19:06:03 -0500 |
commit | 118323a96c21135d553bf7fc1ccc5337868e835d (patch) | |
tree | 882c2f78093e38a50b553c195a268b1d63d3af1f /sd/inc/sderror.hxx | |
parent | 2bbe25827196f104285db69a6fe12adb0f28c036 (diff) |
FASTBOOL to bool conversion
Diffstat (limited to 'sd/inc/sderror.hxx')
-rw-r--r-- | sd/inc/sderror.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/inc/sderror.hxx b/sd/inc/sderror.hxx index 2564584cb3eb..ee2908027e51 100644 --- a/sd/inc/sderror.hxx +++ b/sd/inc/sderror.hxx @@ -49,12 +49,12 @@ #ifndef __RSC -inline FASTBOOL IsWarning( ULONG nErr ) +inline bool IsWarning( ULONG nErr ) { return 0 != ( nErr & ERRCODE_WARNING_MASK & nErr ); } -inline FASTBOOL IsError( ULONG nErr ) +inline bool IsError( ULONG nErr ) { return nErr && 0 == ( ERRCODE_WARNING_MASK & nErr ); } |