diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-09-04 15:34:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-09-04 16:53:19 +0100 |
commit | c233b1b63750a995fcc0547459fae4cf3ec9e735 (patch) | |
tree | c354d2bcf91de7f3696a158c71dde95f00df7a44 /sc | |
parent | c5653039412114a14eb0b53e6e1ca26efaf468cd (diff) |
coverity#1371177 default assign is good enough
and
coverity#1371311
coverity#1371240
Change-Id: I1f792b9a8e3e386633d4026d8b073ab615d243f3
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/docoptio.hxx | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/sc/inc/docoptio.hxx b/sc/inc/docoptio.hxx index 5c0c28b5fbb2..8e4ebb58b749 100644 --- a/sc/inc/docoptio.hxx +++ b/sc/inc/docoptio.hxx @@ -82,7 +82,6 @@ public: void ResetDocOptions(); - inline const ScDocOptions& operator=( const ScDocOptions& rOpt ); inline bool operator==( const ScDocOptions& rOpt ) const; inline bool operator!=( const ScDocOptions& rOpt ) const; @@ -112,30 +111,6 @@ public: bool IsWriteCalcConfig() const { return bWriteCalcConfig; } }; -inline const ScDocOptions& ScDocOptions::operator=( const ScDocOptions& rCpy ) -{ - bIsIgnoreCase = rCpy.bIsIgnoreCase; - bIsIter = rCpy.bIsIter; - nIterCount = rCpy.nIterCount; - fIterEps = rCpy.fIterEps; - nPrecStandardFormat = rCpy.nPrecStandardFormat; - nDay = rCpy.nDay; - nMonth = rCpy.nMonth; - nYear = rCpy.nYear; - nYear2000 = rCpy.nYear2000; - nTabDistance = rCpy.nTabDistance; - bCalcAsShown = rCpy.bCalcAsShown; - bMatchWholeCell = rCpy.bMatchWholeCell; - bDoAutoSpell = rCpy.bDoAutoSpell; - bLookUpColRowNames = rCpy.bLookUpColRowNames; - bFormulaRegexEnabled= rCpy.bFormulaRegexEnabled; - bFormulaWildcardsEnabled = rCpy.bFormulaWildcardsEnabled; - eFormulaSearchType = rCpy.eFormulaSearchType; - bWriteCalcConfig = rCpy.bWriteCalcConfig; - - return *this; -} - inline bool ScDocOptions::operator==( const ScDocOptions& rOpt ) const { return ( |