summaryrefslogtreecommitdiff
path: root/rsc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'rsc/inc')
-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 754e71e60b01..a3e00137c3b7 100644
--- a/rsc/inc/rscerror.h
+++ b/rsc/inc/rscerror.h
@@ -91,7 +91,7 @@ class ERRTYPE
public:
ERRTYPE() { nError = ERR_OK; }
ERRTYPE( sal_uInt32 nErr ) { nError = nErr; }
- ERRTYPE( const ERRTYPE & rErr ) { nError = rErr.nError; }
+ ERRTYPE( const ERRTYPE & ) = default;
ERRTYPE& operator = ( const ERRTYPE & rError );
operator sal_uInt32() const { return nError; }
bool IsError() const { return nError <= ERR_ERROREND; }