summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-09-15 14:36:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-09-16 06:19:38 +0000
commit96e9ffa64706f523d67659a20a0ccce6fbd0cb91 (patch)
tree81b9eaa904d20da4b6d3997a4cb69b29416c12c9 /drawinglayer
parent7fc7fad400c619e518448ee521b2aba099dccf9b (diff)
loplogin:singlevalfields in include/
Change-Id: I27842162fcf82120ecb811ee8e89e187430931fc Reviewed-on: https://gerrit.libreoffice.org/28931 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx4
-rw-r--r--drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx4
2 files changed, 2 insertions, 6 deletions
diff --git a/drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx b/drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx
index ce69c2841183..9cfbba2473a6 100644
--- a/drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx
+++ b/drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx
@@ -78,7 +78,7 @@ namespace drawinglayer
// create geometry
::std::vector< basegfx::B3DPolyPolygon > aFill;
extractPlanesFromSlice(aFill, rSliceVector,
- bCreateNormals, getSmoothHorizontalNormals(), getSmoothNormals(), getSmoothLids(), false,
+ bCreateNormals, true/*smoothHorizontalNormals*/, getSmoothNormals(), getSmoothLids(), false,
0.5, 0.6, bCreateTextureCoordinatesX || bCreateTextureCoordinatesY, aTexTransform);
// get full range
@@ -406,7 +406,6 @@ namespace drawinglayer
mfBackScale(fBackScale),
mpLastRLGViewInformation(nullptr),
mbSmoothNormals(bSmoothNormals),
- mbSmoothHorizontalNormals(true),
mbSmoothLids(bSmoothLids),
mbCharacterMode(bCharacterMode),
mbCloseFront(bCloseFront),
@@ -460,7 +459,6 @@ namespace drawinglayer
&& getDiagonal() == rCompare.getDiagonal()
&& getBackScale() == rCompare.getBackScale()
&& getSmoothNormals() == rCompare.getSmoothNormals()
- && getSmoothHorizontalNormals() == rCompare.getSmoothHorizontalNormals()
&& getSmoothLids() == rCompare.getSmoothLids()
&& getCharacterMode() == rCompare.getCharacterMode()
&& getCloseFront() == rCompare.getCloseFront()
diff --git a/drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx b/drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx
index 89eeea93bceb..64041d8439df 100644
--- a/drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx
+++ b/drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx
@@ -73,7 +73,7 @@ namespace drawinglayer
// create geometry
::std::vector< basegfx::B3DPolyPolygon > aFill;
extractPlanesFromSlice(aFill, rSliceVector,
- bCreateNormals, getSmoothHorizontalNormals(), getSmoothNormals(), getSmoothLids(), bClosedRotation,
+ bCreateNormals, true/*smoothHorizontalNormals*/, getSmoothNormals(), getSmoothLids(), bClosedRotation,
0.85, 0.6, bCreateTextureCoordinatesX || bCreateTextureCoordinatesY, aTexTransform);
// get full range
@@ -266,7 +266,6 @@ namespace drawinglayer
mfRotation(fRotation),
mpLastRLGViewInformation(nullptr),
mbSmoothNormals(bSmoothNormals),
- mbSmoothHorizontalNormals(true),
mbSmoothLids(bSmoothLids),
mbCharacterMode(bCharacterMode),
mbCloseFront(bCloseFront),
@@ -322,7 +321,6 @@ namespace drawinglayer
&& getBackScale() == rCompare.getBackScale()
&& getRotation() == rCompare.getRotation()
&& getSmoothNormals() == rCompare.getSmoothNormals()
- && getSmoothHorizontalNormals() == rCompare.getSmoothHorizontalNormals()
&& getSmoothLids() == rCompare.getSmoothLids()
&& getCharacterMode() == rCompare.getCharacterMode()
&& getCloseFront() == rCompare.getCloseFront()