From 5b8d36d924ad32ecf83ac75dc2d4add7b78ab8c6 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 25 Sep 2016 21:23:21 +0100 Subject: avoid coverity#1371177 Missing move assignment operator Change-Id: Ib31f553915e6a0863a6b3dc53320b9287503a517 --- reportdesign/source/ui/inspection/GeometryHandler.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'reportdesign') 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) -- cgit