summaryrefslogtreecommitdiff
path: root/rsc/inc/rscerror.h
diff options
context:
space:
mode:
Diffstat (limited to 'rsc/inc/rscerror.h')
-rw-r--r--rsc/inc/rscerror.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsc/inc/rscerror.h b/rsc/inc/rscerror.h
index 7954cf4cdf46..754e71e60b01 100644
--- a/rsc/inc/rscerror.h
+++ b/rsc/inc/rscerror.h
@@ -93,7 +93,7 @@ public:
ERRTYPE( sal_uInt32 nErr ) { nError = nErr; }
ERRTYPE( const ERRTYPE & rErr ) { nError = rErr.nError; }
ERRTYPE& operator = ( const ERRTYPE & rError );
- operator sal_uInt32() const { return( nError ); }
+ operator sal_uInt32() const { return nError; }
bool IsError() const { return nError <= ERR_ERROREND; }
bool IsOk() const { return !IsError(); }
bool IsWarning() const { return nError >= ERR_WARNINGSTART && nError <= ERR_WARNINGEND;}