diff options
author | Xiaofei Zhang <Zhangxiaofei@openoffice.org> | 2010-07-29 10:56:19 +0800 |
---|---|---|
committer | Xiaofei Zhang <Zhangxiaofei@openoffice.org> | 2010-07-29 10:56:19 +0800 |
commit | d210c6ccc30466e98240c1409df0550514668d68 (patch) | |
tree | 0c94d52ecaebd283a92275cb372d5ddf926f5131 /rsc/inc/rscerror.h | |
parent | 7f0993d43019a0ccb7f89c11fc23704c063b902f (diff) |
#i112600#: clean up l10ntools, rsc, sot, svl, tools and unotools
Diffstat (limited to 'rsc/inc/rscerror.h')
-rw-r--r-- | rsc/inc/rscerror.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rsc/inc/rscerror.h b/rsc/inc/rscerror.h index f3a4428127f3..41f012040a0c 100644 --- a/rsc/inc/rscerror.h +++ b/rsc/inc/rscerror.h @@ -105,9 +105,9 @@ public: ERRTYPE( const ERRTYPE & rErr ) { nError = rErr.nError; }; ERRTYPE& operator = ( const ERRTYPE & rError ); operator sal_uInt32() const { return( nError ); } - BOOL IsError() const { return( nError <= ERR_ERROREND ); } - BOOL IsOk() const { return( !IsError() ); } - BOOL IsWarning() const { + sal_Bool IsError() const { return( nError <= ERR_ERROREND ); } + sal_Bool IsOk() const { return( !IsError() ); } + sal_Bool IsWarning() const { return( nError >= ERR_WARNINGSTART && nError <= ERR_WARNINGEND ); }; void Clear(){ nError = ERR_OK; } |