diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-09-25 21:23:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-09-25 21:23:21 +0100 |
commit | 5b8d36d924ad32ecf83ac75dc2d4add7b78ab8c6 (patch) | |
tree | 396af14d53c98323039a489120aaf19362919492 | |
parent | 6bd3c2ca4b904abfe54509ff292a99a64e228ab8 (diff) |
avoid coverity#1371177 Missing move assignment operator
Change-Id: Ib31f553915e6a0863a6b3dc53320b9287503a517
-rw-r--r-- | reportdesign/source/ui/inspection/GeometryHandler.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/reportdesign/source/ui/inspection/GeometryHandler.cxx b/reportdesign/source/ui/inspection/GeometryHandler.cxx index 6598a3cd31c7..8264cb4de45d 100644 --- a/reportdesign/source/ui/inspection/GeometryHandler.cxx +++ b/reportdesign/source/ui/inspection/GeometryHandler.cxx @@ -213,8 +213,7 @@ OUString GeometryHandler::impl_convertToFormula( const uno::Any& _rControlValue if ( aParser.isValid() ) return sName; - aParser = ReportFormula( impl_isDataField(sName) ? ReportFormula::Field : ReportFormula::Expression, sName ); - return aParser.getCompleteFormula(); + return ReportFormula(impl_isDataField(sName) ? ReportFormula::Field : ReportFormula::Expression, sName).getCompleteFormula(); } GeometryHandler::GeometryHandler(uno::Reference< uno::XComponentContext > const & context) |