diff options
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 ); } |