loplugin:subtlezeroinit: chart2
Change-Id: I9012f97b188195140504dacb262c212d46df675a
This commit is contained in:
@@ -37,7 +37,7 @@ VCL_BUILDER_FACTORY_CONSTRUCTOR(SeriesListBox, 0)
|
||||
|
||||
SvTreeListEntry* SeriesListBox::CreateEntry() const
|
||||
{
|
||||
return new SeriesEntry();
|
||||
return new SeriesEntry;
|
||||
}
|
||||
|
||||
} // namespace chart
|
||||
|
@@ -426,7 +426,7 @@ tWrappedPropertyMap& WrappedPropertySet::getWrappedPropertyMap()
|
||||
if(!p)
|
||||
{
|
||||
std::vector< WrappedProperty* > aPropList( createWrappedProperties() );
|
||||
p = new tWrappedPropertyMap();
|
||||
p = new tWrappedPropertyMap;
|
||||
|
||||
for( std::vector< WrappedProperty* >::const_iterator aIt = aPropList.begin(); aIt!=aPropList.end(); ++aIt )
|
||||
{
|
||||
|
@@ -504,7 +504,7 @@ GL3DBarChart::GL3DBarChart(
|
||||
mpWindow(pWindow),
|
||||
mpCamera(nullptr),
|
||||
mbValidContext(true),
|
||||
mpTextCache(new opengl3D::TextCache()),
|
||||
mpTextCache(new opengl3D::TextCache),
|
||||
mnMaxX(0),
|
||||
mnMaxY(0),
|
||||
mnDistance(0.0),
|
||||
|
@@ -648,7 +648,7 @@ void PieChart::createShapes()
|
||||
std::unique_ptr< tPropertyNameValueMap > apOverwritePropertiesMap(nullptr);
|
||||
if (!pSeries->hasPointOwnColor(nPointIndex) && m_xColorScheme.is())
|
||||
{
|
||||
apOverwritePropertiesMap.reset( new tPropertyNameValueMap() );
|
||||
apOverwritePropertiesMap.reset( new tPropertyNameValueMap );
|
||||
(*apOverwritePropertiesMap)["FillColor"] <<=
|
||||
m_xColorScheme->getColorByIndex( nPointIndex );
|
||||
}
|
||||
|
@@ -61,7 +61,7 @@ namespace chart
|
||||
|
||||
extern "C" {
|
||||
SAL_DLLPUBLIC_EXPORT opengl::OpenglShapeFactory* getOpenglShapeFactory()
|
||||
{ return new opengl::OpenglShapeFactory();}
|
||||
{ return new opengl::OpenglShapeFactory;}
|
||||
}
|
||||
|
||||
using dummy::DummyCylinder;
|
||||
|
Reference in New Issue
Block a user