summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-06 10:33:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-06 14:37:11 +0200
commit07e87211c2b2e98fd176fef2018723b50c8dbb1a (patch)
tree34ccdfe4aeaecdc4d646462a6634e7852c0ced35 /drawinglayer
parent3e62ac3e9ef2f6759d8faca2c012dba51c314ba5 (diff)
loplugin:simplifyconstruct in dbaccess..drawinglayer
Change-Id: I83624d8bc787aaaaf6071171c882a6e5bde70a0d Reviewed-on: https://gerrit.libreoffice.org/60075 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/primitive2d/svggradientprimitive2d.cxx6
-rw-r--r--drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx1
-rw-r--r--drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx1
-rw-r--r--drawinglayer/source/processor3d/zbufferprocessor3d.cxx2
-rw-r--r--drawinglayer/source/texture/texture3d.cxx5
-rw-r--r--drawinglayer/source/tools/emfpbrush.cxx5
-rw-r--r--drawinglayer/source/tools/emfppen.cxx2
7 files changed, 3 insertions, 19 deletions
diff --git a/drawinglayer/source/primitive2d/svggradientprimitive2d.cxx b/drawinglayer/source/primitive2d/svggradientprimitive2d.cxx
index 6e2ab2e16b3e..3f839baf8c54 100644
--- a/drawinglayer/source/primitive2d/svggradientprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/svggradientprimitive2d.cxx
@@ -1041,8 +1041,7 @@ namespace drawinglayer
maColorA(aColorA),
maColorB(aColorB),
mfScaleA(fScaleA),
- mfScaleB(fScaleB),
- mpTranslate(nullptr)
+ mfScaleB(fScaleB)
{
// check and evtl. set translations
if(!rTranslateA.equal(rTranslateB))
@@ -1074,8 +1073,7 @@ namespace drawinglayer
maColorA(aColorA),
maColorB(aColorB),
mfScaleA(fScaleA),
- mfScaleB(fScaleB),
- mpTranslate(nullptr)
+ mfScaleB(fScaleB)
{
// scale A and B have to be positive
mfScaleA = std::max(mfScaleA, 0.0);
diff --git a/drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx b/drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx
index 1921c71dac25..057dbe127fdb 100644
--- a/drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx
+++ b/drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx
@@ -408,7 +408,6 @@ namespace drawinglayer
mfDepth(fDepth),
mfDiagonal(fDiagonal),
mfBackScale(fBackScale),
- mpLastRLGViewInformation(nullptr),
mbSmoothNormals(bSmoothNormals),
mbSmoothLids(bSmoothLids),
mbCharacterMode(bCharacterMode),
diff --git a/drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx b/drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx
index 6d0f88f7b14e..e0a9bc3adc80 100644
--- a/drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx
+++ b/drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx
@@ -264,7 +264,6 @@ namespace drawinglayer
mfDiagonal(fDiagonal),
mfBackScale(fBackScale),
mfRotation(fRotation),
- mpLastRLGViewInformation(nullptr),
mbSmoothNormals(bSmoothNormals),
mbSmoothLids(bSmoothLids),
mbCharacterMode(bCharacterMode),
diff --git a/drawinglayer/source/processor3d/zbufferprocessor3d.cxx b/drawinglayer/source/processor3d/zbufferprocessor3d.cxx
index ffc6ab9746a1..95aff74b62fd 100644
--- a/drawinglayer/source/processor3d/zbufferprocessor3d.cxx
+++ b/drawinglayer/source/processor3d/zbufferprocessor3d.cxx
@@ -526,9 +526,7 @@ namespace drawinglayer
sal_uInt32 nStopLine)
: DefaultProcessor3D(rViewInformation3D, rSdrSceneAttribute, rSdrLightingAttribute),
maInvEyeToView(),
- mpZBufferRasterConverter3D(nullptr),
mnAntiAlialize(nAntiAlialize),
- mpRasterPrimitive3Ds(nullptr),
mnStartLine(nStartLine),
mnStopLine(nStopLine)
{
diff --git a/drawinglayer/source/texture/texture3d.cxx b/drawinglayer/source/texture/texture3d.cxx
index 67e7ed56da19..68d2826bfa46 100644
--- a/drawinglayer/source/texture/texture3d.cxx
+++ b/drawinglayer/source/texture/texture3d.cxx
@@ -322,10 +322,7 @@ namespace drawinglayer
GeoTexSvxMultiHatch::GeoTexSvxMultiHatch(
const primitive3d::HatchTexturePrimitive3D& rPrimitive,
double fLogicPixelSize)
- : mfLogicPixelSize(fLogicPixelSize),
- mp0(nullptr),
- mp1(nullptr),
- mp2(nullptr)
+ : mfLogicPixelSize(fLogicPixelSize)
{
const attribute::FillHatchAttribute& rHatch(rPrimitive.getHatch());
const basegfx::B2DRange aOutlineRange(0.0, 0.0, rPrimitive.getTextureSize().getX(), rPrimitive.getTextureSize().getY());
diff --git a/drawinglayer/source/tools/emfpbrush.cxx b/drawinglayer/source/tools/emfpbrush.cxx
index ce53d5933222..5e4cdaadae5d 100644
--- a/drawinglayer/source/tools/emfpbrush.cxx
+++ b/drawinglayer/source/tools/emfpbrush.cxx
@@ -51,14 +51,9 @@ namespace emfplushelper
, areaHeight(0.0)
, hasTransformation(false)
, blendPoints(0)
- , blendPositions(nullptr)
, blendFactors(nullptr)
, colorblendPoints(0)
- , colorblendPositions(nullptr)
- , colorblendColors(nullptr)
, surroundColorsNumber(0)
- , surroundColors(nullptr)
- , path(nullptr)
, hatchStyle(HatchStyleHorizontal)
{
}
diff --git a/drawinglayer/source/tools/emfppen.cxx b/drawinglayer/source/tools/emfppen.cxx
index 571525a4ab01..637c0e2d2011 100644
--- a/drawinglayer/source/tools/emfppen.cxx
+++ b/drawinglayer/source/tools/emfppen.cxx
@@ -75,9 +75,7 @@ namespace emfplushelper
, dashOffset(0.0)
, alignment(0)
, customStartCapLen(0)
- , customStartCap(nullptr)
, customEndCapLen(0)
- , customEndCap(nullptr)
{
}