summaryrefslogtreecommitdiff
path: root/chart2/source/view/diagram
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-12 15:09:30 +0200
committerNoel Grandin <noel@peralex.com>2015-08-14 10:52:46 +0200
commit70a30fd179266f65500b880ccb0f87011b670fca (patch)
tree881d1723620d030171ff3de9bad2cc96f80994ed /chart2/source/view/diagram
parent9045d0bf35c9b4d5f6d8f791017124341abf8d4f (diff)
loplugin: defaultparams
Change-Id: I65c0ed65b20f606cf1409a3158ff1ef1e2d6cd9f
Diffstat (limited to 'chart2/source/view/diagram')
-rw-r--r--chart2/source/view/diagram/VDiagram.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/chart2/source/view/diagram/VDiagram.cxx b/chart2/source/view/diagram/VDiagram.cxx
index 9f5db9926456..10b14fe8e57e 100644
--- a/chart2/source/view/diagram/VDiagram.cxx
+++ b/chart2/source/view/diagram/VDiagram.cxx
@@ -487,7 +487,6 @@ void VDiagram::createShapes_3d()
bool bAddFloorAndWall = DiagramHelper::isSupportingFloorAndWall( m_xDiagram );
const bool bDoubleSided = false;
- const bool bFlatNormals = true;
//add walls
{
@@ -523,7 +522,7 @@ void VDiagram::createShapes_3d()
uno::Reference< drawing::XShape > xShape =
m_pShapeFactory->createStripe( xWallGroup_Shapes, aStripe
- , xWallProp, PropertyMapper::getPropertyNameMapForFillAndLineProperties(), bDoubleSided, nRotatedTexture, bFlatNormals );
+ , xWallProp, PropertyMapper::getPropertyNameMapForFillAndLineProperties(), bDoubleSided, nRotatedTexture );
if( !bAddFloorAndWall )
{
//we always need this object as dummy object for correct scene dimensions
@@ -551,7 +550,7 @@ void VDiagram::createShapes_3d()
uno::Reference< drawing::XShape > xShape =
m_pShapeFactory->createStripe(xWallGroup_Shapes, aStripe
- , xWallProp, PropertyMapper::getPropertyNameMapForFillAndLineProperties(), bDoubleSided, nRotatedTexture, bFlatNormals );
+ , xWallProp, PropertyMapper::getPropertyNameMapForFillAndLineProperties(), bDoubleSided, nRotatedTexture );
if( !bAddFloorAndWall )
{
//we always need this object as dummy object for correct scene dimensions
@@ -625,7 +624,7 @@ void VDiagram::createShapes_3d()
uno::Reference< drawing::XShape > xShape =
m_pShapeFactory->createStripe(xOuterGroup_Shapes, aStripe
- , xFloorProp, PropertyMapper::getPropertyNameMapForFillAndLineProperties(), bDoubleSided, 0, bFlatNormals );
+ , xFloorProp, PropertyMapper::getPropertyNameMapForFillAndLineProperties(), bDoubleSided, 0 );
CuboidPlanePosition eBottomPos( ThreeDHelper::getAutomaticCuboidPlanePositionForStandardBottom( uno::Reference< beans::XPropertySet >( m_xDiagram, uno::UNO_QUERY ) ) );
if( !bAddFloorAndWall || (CuboidPlanePosition_Bottom!=eBottomPos) )