Kaydet (Commit) 75648d6e authored tarafından Thomas Arnhold's avatar Thomas Arnhold

cppcheck: redundantAssignment

Change-Id: Icf71dc6735b9b60f6fea4dc8c78877bb652fbe95
üst 347c4f43
......@@ -88,11 +88,9 @@ void AxisHelper::removeExplicitScaling( ScaleData& rScaleData )
bool AxisHelper::isLogarithmic( const Reference< XScaling >& xScaling )
{
bool bReturn = false;
Reference< lang::XServiceName > xServiceName( xScaling, uno::UNO_QUERY );
bReturn =( xServiceName.is() && (xServiceName->getServiceName()).equals(
"com.sun.star.chart2.LogarithmicScaling"));
return bReturn;
return xServiceName.is() && (xServiceName->getServiceName()).equals(
"com.sun.star.chart2.LogarithmicScaling");
}
chart2::ScaleData AxisHelper::getDateCheckedScale( const Reference< chart2::XAxis >& xAxis, ChartModel& rModel )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment