loplugin:staticcall

Change-Id: I3f3adebc0916c96b50e15c68b627e655166e2551
This commit is contained in:
Stephan Bergmann 2014-06-13 17:49:00 +02:00
parent f8ef1fe95b
commit ad82e0d25e
9 changed files with 12 additions and 12 deletions

View File

@ -80,7 +80,7 @@ APPHELPER_XSERVICEINFO_IMPL(ChartFrameLoader,CHART_FRAMELOADER_SERVICE_IMPLEMENT
utl::MediaDescriptor aMediaDescriptor(rMediaDescriptor);
{
utl::MediaDescriptor::const_iterator aIt( aMediaDescriptor.find( aMediaDescriptor.PROP_MODEL()));
utl::MediaDescriptor::const_iterator aIt( aMediaDescriptor.find( utl::MediaDescriptor::PROP_MODEL()));
if( aIt != aMediaDescriptor.end())
{
xModel.set( (*aIt).second.get< uno::Reference< frame::XModel > >());
@ -136,7 +136,7 @@ APPHELPER_XSERVICEINFO_IMPL(ChartFrameLoader,CHART_FRAMELOADER_SERVICE_IMPLEMENT
if(!bHaveLoadedModel)
try
{
utl::MediaDescriptor::const_iterator aIt( aMediaDescriptor.find( aMediaDescriptor.PROP_URL()));
utl::MediaDescriptor::const_iterator aIt( aMediaDescriptor.find( utl::MediaDescriptor::PROP_URL()));
if( aIt != aMediaDescriptor.end())
{
OUString aURL( (*aIt).second.get< OUString >());

View File

@ -113,7 +113,7 @@ void SelectorListBox::UpdateChartElementsListAndSelection()
xChartView = xFact->createInstance( CHART_VIEW_SERVICE_NAME );
ExplicitValueProvider* pExplicitValueProvider = 0; //ExplicitValueProvider::getExplicitValueProvider(xChartView); this creates all visible data points, that's too much
ObjectHierarchy aHierarchy( xChartDoc, pExplicitValueProvider, true /*bFlattenDiagram*/, true /*bOrderingForElementSelector*/ );
lcl_addObjectsToList( aHierarchy, aHierarchy.getRootNodeOID(), m_aEntries, 0, xChartDoc );
lcl_addObjectsToList( aHierarchy, ::chart::ObjectHierarchy::getRootNodeOID(), m_aEntries, 0, xChartDoc );
std::vector< ListBoxEntryData >::iterator aIt( m_aEntries.begin() );
if( bAddSelectionToList )

View File

@ -1647,7 +1647,7 @@ void VCartesianAxis::createShapes()
m_xGroupShape_Shapes, aPoints
, &m_aAxisProperties.m_aLineProperties );
//because of this name this line will be used for marking the axis
m_pShapeFactory->setShapeName( xShape, "MarkHandles" );
::chart::AbstractShapeFactory::setShapeName( xShape, "MarkHandles" );
}
//create an additional line at NULL
if( !AxisHelper::isAxisPositioningEnabled() )

View File

@ -274,7 +274,7 @@ void VCartesianGrid::createShapes()
aHandleLineProperties.LineStyle = uno::makeAny( drawing::LineStyle_NONE );
Reference< drawing::XShape > xHandleShape =
m_pShapeFactory->createLine2D( xTarget, aHandlesPoints, &aHandleLineProperties );
m_pShapeFactory->setShapeName( xHandleShape, "HandlesOnly" );
::chart::AbstractShapeFactory::setShapeName( xHandleShape, "HandlesOnly" );
}
else //if(2!=m_nDimension)
{

View File

@ -205,7 +205,7 @@ void VPolarAngleAxis::createShapes()
uno::Reference< drawing::XShape > xShape = m_pShapeFactory->createLine2D(
m_xGroupShape_Shapes, aPoints, &m_aAxisProperties.m_aLineProperties );
//because of this name this line will be used for marking the axis
m_pShapeFactory->setShapeName( xShape, "MarkHandles" );
::chart::AbstractShapeFactory::setShapeName( xShape, "MarkHandles" );
//create labels
createLabels();

View File

@ -215,7 +215,7 @@ void VPolarGrid::create2DRadiusGrid( const Reference< drawing::XShapes >& xLogic
Reference< drawing::XShape > xShape = m_pShapeFactory->createLine2D(
xTarget, aAllPoints, &rLinePropertiesList[nDepth] );
//because of this name this line will be used for marking
m_pShapeFactory->setShapeName( xShape, "MarkHandles" );
::chart::AbstractShapeFactory::setShapeName( xShape, "MarkHandles" );
}
}

View File

@ -466,7 +466,7 @@ bool AreaChart::impl_createLine( VDataSeries* pSeries
, pSeries->getPropertiesOfSeries()
, PropertyMapper::getPropertyNameMapForLineSeriesProperties() );
//because of this name this line will be used for marking
m_pShapeFactory->setShapeName(xShape, "MarkHandles");
::chart::AbstractShapeFactory::setShapeName(xShape, "MarkHandles");
}
return true;
}
@ -542,7 +542,7 @@ bool AreaChart::impl_createArea( VDataSeries* pSeries
, pSeries->getPropertiesOfSeries()
, PropertyMapper::getPropertyNameMapForFilledSeriesProperties() );
//because of this name this line will be used for marking
m_pShapeFactory->setShapeName(xShape, "MarkHandles");
::chart::AbstractShapeFactory::setShapeName(xShape, "MarkHandles");
return true;
}

View File

@ -335,7 +335,7 @@ void BubbleChart::createShapes()
pSeries->getValueByProperty(nIndex, "LineColor"))));
}
m_pShapeFactory->setShapeName( xShape, "MarkHandles" );
::chart::AbstractShapeFactory::setShapeName( xShape, "MarkHandles" );
//create data point label
if( (**aSeriesIter).getDataPointLabelIfLabel(nIndex) )

View File

@ -174,7 +174,7 @@ bool NetChart::impl_createLine( VDataSeries* pSeries
, pSeries->getPropertiesOfSeries()
, PropertyMapper::getPropertyNameMapForLineSeriesProperties() );
//because of this name this line will be used for marking
m_pShapeFactory->setShapeName(xShape, "MarkHandles");
::chart::AbstractShapeFactory::setShapeName(xShape, "MarkHandles");
}
return true;
}
@ -245,7 +245,7 @@ bool NetChart::impl_createArea( VDataSeries* pSeries
, pSeries->getPropertiesOfSeries()
, PropertyMapper::getPropertyNameMapForFilledSeriesProperties() );
//because of this name this line will be used for marking
m_pShapeFactory->setShapeName(xShape, "MarkHandles");
::chart::AbstractShapeFactory::setShapeName(xShape, "MarkHandles");
return true;
}