summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-09-12 12:56:25 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-09-13 06:14:41 +0000
commit6dd4905a7ac93a48dc87358da3ba0a8078bbb6cf (patch)
tree222912540273ca0601f61b682f6fd2b919e7aa4a /drawinglayer
parenta46076245ca6a85712f51187553f5abd3f0aa79a (diff)
loplugin:constantparam in dbaccess..editeng
Change-Id: I1d0dc3d89933d86cd229e503b350fccc1523dedc Reviewed-on: https://gerrit.libreoffice.org/28833 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx3
-rw-r--r--drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx3
2 files changed, 2 insertions, 4 deletions
diff --git a/drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx b/drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx
index be15838fd8b7..ce69c2841183 100644
--- a/drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx
+++ b/drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx
@@ -393,7 +393,6 @@ namespace drawinglayer
double fDiagonal,
double fBackScale,
bool bSmoothNormals,
- bool bSmoothHorizontalNormals,
bool bSmoothLids,
bool bCharacterMode,
bool bCloseFront,
@@ -407,7 +406,7 @@ namespace drawinglayer
mfBackScale(fBackScale),
mpLastRLGViewInformation(nullptr),
mbSmoothNormals(bSmoothNormals),
- mbSmoothHorizontalNormals(bSmoothHorizontalNormals),
+ mbSmoothHorizontalNormals(true),
mbSmoothLids(bSmoothLids),
mbCharacterMode(bCharacterMode),
mbCloseFront(bCloseFront),
diff --git a/drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx b/drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx
index f831aba427bd..89eeea93bceb 100644
--- a/drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx
+++ b/drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx
@@ -251,7 +251,6 @@ namespace drawinglayer
double fBackScale,
double fRotation,
bool bSmoothNormals,
- bool bSmoothHorizontalNormals,
bool bSmoothLids,
bool bCharacterMode,
bool bCloseFront,
@@ -267,7 +266,7 @@ namespace drawinglayer
mfRotation(fRotation),
mpLastRLGViewInformation(nullptr),
mbSmoothNormals(bSmoothNormals),
- mbSmoothHorizontalNormals(bSmoothHorizontalNormals),
+ mbSmoothHorizontalNormals(true),
mbSmoothLids(bSmoothLids),
mbCharacterMode(bCharacterMode),
mbCloseFront(bCloseFront),