coverity#1371177 avoid Missing move assignment operator
Change-Id: I15517a725e705db0f106b01eb9a013efeca4f47f
This commit is contained in:
@@ -92,8 +92,7 @@ namespace rptui
|
||||
for ( sal_Int32 i=0; i<nCount; ++i )
|
||||
{
|
||||
xFormatCondition.set( _rxRptControlModel->getByIndex( i ), UNO_QUERY_THROW );
|
||||
ReportFormula aFormula( xFormatCondition->getFormula() );
|
||||
sFormulaExpression = aFormula.getExpression();
|
||||
sFormulaExpression = ReportFormula(xFormatCondition->getFormula()).getExpression();
|
||||
|
||||
for ( ConditionalExpressions::const_iterator loop = m_aConditionalExpressions.begin();
|
||||
loop != m_aConditionalExpressions.end();
|
||||
@@ -105,7 +104,7 @@ namespace rptui
|
||||
|
||||
// the expression matches -> translate it to the new data source of the report control model
|
||||
sFormulaExpression = loop->second->assembleExpression( sNewUnprefixed, sLHS, sRHS );
|
||||
aFormula = ReportFormula( ReportFormula::Expression, sFormulaExpression );
|
||||
ReportFormula aFormula(ReportFormula(ReportFormula::Expression, sFormulaExpression));
|
||||
xFormatCondition->setFormula(aFormula.getCompleteFormula());
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user