loplugin:staticcall
Change-Id: I3f3adebc0916c96b50e15c68b627e655166e2551
This commit is contained in:
@@ -80,7 +80,7 @@ APPHELPER_XSERVICEINFO_IMPL(ChartFrameLoader,CHART_FRAMELOADER_SERVICE_IMPLEMENT
|
|||||||
|
|
||||||
utl::MediaDescriptor aMediaDescriptor(rMediaDescriptor);
|
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())
|
if( aIt != aMediaDescriptor.end())
|
||||||
{
|
{
|
||||||
xModel.set( (*aIt).second.get< uno::Reference< frame::XModel > >());
|
xModel.set( (*aIt).second.get< uno::Reference< frame::XModel > >());
|
||||||
@@ -136,7 +136,7 @@ APPHELPER_XSERVICEINFO_IMPL(ChartFrameLoader,CHART_FRAMELOADER_SERVICE_IMPLEMENT
|
|||||||
if(!bHaveLoadedModel)
|
if(!bHaveLoadedModel)
|
||||||
try
|
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())
|
if( aIt != aMediaDescriptor.end())
|
||||||
{
|
{
|
||||||
OUString aURL( (*aIt).second.get< OUString >());
|
OUString aURL( (*aIt).second.get< OUString >());
|
||||||
|
@@ -113,7 +113,7 @@ void SelectorListBox::UpdateChartElementsListAndSelection()
|
|||||||
xChartView = xFact->createInstance( CHART_VIEW_SERVICE_NAME );
|
xChartView = xFact->createInstance( CHART_VIEW_SERVICE_NAME );
|
||||||
ExplicitValueProvider* pExplicitValueProvider = 0; //ExplicitValueProvider::getExplicitValueProvider(xChartView); this creates all visible data points, that's too much
|
ExplicitValueProvider* pExplicitValueProvider = 0; //ExplicitValueProvider::getExplicitValueProvider(xChartView); this creates all visible data points, that's too much
|
||||||
ObjectHierarchy aHierarchy( xChartDoc, pExplicitValueProvider, true /*bFlattenDiagram*/, true /*bOrderingForElementSelector*/ );
|
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() );
|
std::vector< ListBoxEntryData >::iterator aIt( m_aEntries.begin() );
|
||||||
if( bAddSelectionToList )
|
if( bAddSelectionToList )
|
||||||
|
@@ -1647,7 +1647,7 @@ void VCartesianAxis::createShapes()
|
|||||||
m_xGroupShape_Shapes, aPoints
|
m_xGroupShape_Shapes, aPoints
|
||||||
, &m_aAxisProperties.m_aLineProperties );
|
, &m_aAxisProperties.m_aLineProperties );
|
||||||
//because of this name this line will be used for marking the axis
|
//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
|
//create an additional line at NULL
|
||||||
if( !AxisHelper::isAxisPositioningEnabled() )
|
if( !AxisHelper::isAxisPositioningEnabled() )
|
||||||
|
@@ -274,7 +274,7 @@ void VCartesianGrid::createShapes()
|
|||||||
aHandleLineProperties.LineStyle = uno::makeAny( drawing::LineStyle_NONE );
|
aHandleLineProperties.LineStyle = uno::makeAny( drawing::LineStyle_NONE );
|
||||||
Reference< drawing::XShape > xHandleShape =
|
Reference< drawing::XShape > xHandleShape =
|
||||||
m_pShapeFactory->createLine2D( xTarget, aHandlesPoints, &aHandleLineProperties );
|
m_pShapeFactory->createLine2D( xTarget, aHandlesPoints, &aHandleLineProperties );
|
||||||
m_pShapeFactory->setShapeName( xHandleShape, "HandlesOnly" );
|
::chart::AbstractShapeFactory::setShapeName( xHandleShape, "HandlesOnly" );
|
||||||
}
|
}
|
||||||
else //if(2!=m_nDimension)
|
else //if(2!=m_nDimension)
|
||||||
{
|
{
|
||||||
|
@@ -205,7 +205,7 @@ void VPolarAngleAxis::createShapes()
|
|||||||
uno::Reference< drawing::XShape > xShape = m_pShapeFactory->createLine2D(
|
uno::Reference< drawing::XShape > xShape = m_pShapeFactory->createLine2D(
|
||||||
m_xGroupShape_Shapes, aPoints, &m_aAxisProperties.m_aLineProperties );
|
m_xGroupShape_Shapes, aPoints, &m_aAxisProperties.m_aLineProperties );
|
||||||
//because of this name this line will be used for marking the axis
|
//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
|
//create labels
|
||||||
createLabels();
|
createLabels();
|
||||||
|
@@ -215,7 +215,7 @@ void VPolarGrid::create2DRadiusGrid( const Reference< drawing::XShapes >& xLogic
|
|||||||
Reference< drawing::XShape > xShape = m_pShapeFactory->createLine2D(
|
Reference< drawing::XShape > xShape = m_pShapeFactory->createLine2D(
|
||||||
xTarget, aAllPoints, &rLinePropertiesList[nDepth] );
|
xTarget, aAllPoints, &rLinePropertiesList[nDepth] );
|
||||||
//because of this name this line will be used for marking
|
//because of this name this line will be used for marking
|
||||||
m_pShapeFactory->setShapeName( xShape, "MarkHandles" );
|
::chart::AbstractShapeFactory::setShapeName( xShape, "MarkHandles" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -466,7 +466,7 @@ bool AreaChart::impl_createLine( VDataSeries* pSeries
|
|||||||
, pSeries->getPropertiesOfSeries()
|
, pSeries->getPropertiesOfSeries()
|
||||||
, PropertyMapper::getPropertyNameMapForLineSeriesProperties() );
|
, PropertyMapper::getPropertyNameMapForLineSeriesProperties() );
|
||||||
//because of this name this line will be used for marking
|
//because of this name this line will be used for marking
|
||||||
m_pShapeFactory->setShapeName(xShape, "MarkHandles");
|
::chart::AbstractShapeFactory::setShapeName(xShape, "MarkHandles");
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -542,7 +542,7 @@ bool AreaChart::impl_createArea( VDataSeries* pSeries
|
|||||||
, pSeries->getPropertiesOfSeries()
|
, pSeries->getPropertiesOfSeries()
|
||||||
, PropertyMapper::getPropertyNameMapForFilledSeriesProperties() );
|
, PropertyMapper::getPropertyNameMapForFilledSeriesProperties() );
|
||||||
//because of this name this line will be used for marking
|
//because of this name this line will be used for marking
|
||||||
m_pShapeFactory->setShapeName(xShape, "MarkHandles");
|
::chart::AbstractShapeFactory::setShapeName(xShape, "MarkHandles");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -335,7 +335,7 @@ void BubbleChart::createShapes()
|
|||||||
pSeries->getValueByProperty(nIndex, "LineColor"))));
|
pSeries->getValueByProperty(nIndex, "LineColor"))));
|
||||||
}
|
}
|
||||||
|
|
||||||
m_pShapeFactory->setShapeName( xShape, "MarkHandles" );
|
::chart::AbstractShapeFactory::setShapeName( xShape, "MarkHandles" );
|
||||||
|
|
||||||
//create data point label
|
//create data point label
|
||||||
if( (**aSeriesIter).getDataPointLabelIfLabel(nIndex) )
|
if( (**aSeriesIter).getDataPointLabelIfLabel(nIndex) )
|
||||||
|
@@ -174,7 +174,7 @@ bool NetChart::impl_createLine( VDataSeries* pSeries
|
|||||||
, pSeries->getPropertiesOfSeries()
|
, pSeries->getPropertiesOfSeries()
|
||||||
, PropertyMapper::getPropertyNameMapForLineSeriesProperties() );
|
, PropertyMapper::getPropertyNameMapForLineSeriesProperties() );
|
||||||
//because of this name this line will be used for marking
|
//because of this name this line will be used for marking
|
||||||
m_pShapeFactory->setShapeName(xShape, "MarkHandles");
|
::chart::AbstractShapeFactory::setShapeName(xShape, "MarkHandles");
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -245,7 +245,7 @@ bool NetChart::impl_createArea( VDataSeries* pSeries
|
|||||||
, pSeries->getPropertiesOfSeries()
|
, pSeries->getPropertiesOfSeries()
|
||||||
, PropertyMapper::getPropertyNameMapForFilledSeriesProperties() );
|
, PropertyMapper::getPropertyNameMapForFilledSeriesProperties() );
|
||||||
//because of this name this line will be used for marking
|
//because of this name this line will be used for marking
|
||||||
m_pShapeFactory->setShapeName(xShape, "MarkHandles");
|
::chart::AbstractShapeFactory::setShapeName(xShape, "MarkHandles");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user