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 /reportdesign | |
parent | c5653039412114a14eb0b53e6e1ca26efaf468cd (diff) |
coverity#1371177 default assign is good enough
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/inc/reportformula.hxx | 2 | ||||
-rw-r--r-- | reportdesign/source/core/misc/reportformula.cxx | 9 |
2 files changed, 0 insertions, 11 deletions
diff --git a/reportdesign/inc/reportformula.hxx b/reportdesign/inc/reportformula.hxx index 1e591b8644b1..4e41ae2d164f 100644 --- a/reportdesign/inc/reportformula.hxx +++ b/reportdesign/inc/reportformula.hxx @@ -56,8 +56,6 @@ namespace rptui ReportFormula( const BindType _eType, const OUString& _rFieldOrExpression ); ~ReportFormula(); - ReportFormula& operator=(class ReportFormula const &); - /// returns whether the object denotes a valid formula bool isValid() const; diff --git a/reportdesign/source/core/misc/reportformula.cxx b/reportdesign/source/core/misc/reportformula.cxx index d491791e0088..bdecbc69cd46 100644 --- a/reportdesign/source/core/misc/reportformula.cxx +++ b/reportdesign/source/core/misc/reportformula.cxx @@ -124,15 +124,6 @@ namespace rptui } bool ReportFormula::isValid() const { return getType() != Invalid; } - ReportFormula& ReportFormula::operator=(class ReportFormula const & _rHd) - { - if ( this == &_rHd ) - return *this; - m_eType = _rHd.m_eType; - m_sCompleteFormula = _rHd.m_sCompleteFormula; - m_sUndecoratedContent = _rHd.m_sUndecoratedContent; - return *this; - } OUString ReportFormula::getEqualUndecoratedContent() const { |