summaryrefslogtreecommitdiff
path: root/svx/source/engine3d/obj3d.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-22 10:22:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-22 11:12:00 +0100
commitb1facbf894a9870f501049409effa937a4ff3488 (patch)
tree2679cd1802ed8557f53ac4e436a4ae2e1e052f82 /svx/source/engine3d/obj3d.cxx
parentf7acbfe2322477b25e5a21b414fd5f5e129eafb1 (diff)
loplugin:unusedfields in svx
Change-Id: I9f6a21066224c449d3fcc8a0d97cb32dae0a65f6 Reviewed-on: https://gerrit.libreoffice.org/68193 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/engine3d/obj3d.cxx')
-rw-r--r--svx/source/engine3d/obj3d.cxx14
1 files changed, 1 insertions, 13 deletions
diff --git a/svx/source/engine3d/obj3d.cxx b/svx/source/engine3d/obj3d.cxx
index 297719c09435..ed27d7d6953d 100644
--- a/svx/source/engine3d/obj3d.cxx
+++ b/svx/source/engine3d/obj3d.cxx
@@ -492,17 +492,8 @@ std::unique_ptr<sdr::properties::BaseProperties> E3dCompoundObject::CreateObject
}
E3dCompoundObject::E3dCompoundObject(SdrModel& rSdrModel)
-: E3dObject(rSdrModel),
- aMaterialAmbientColor()
+: E3dObject(rSdrModel)
{
- // Set defaults
- SetDefaultAttributes();
-}
-
-void E3dCompoundObject::SetDefaultAttributes()
-{
- // Set defaults
- aMaterialAmbientColor = COL_BLACK;
}
E3dCompoundObject::~E3dCompoundObject ()
@@ -644,9 +635,6 @@ E3dCompoundObject& E3dCompoundObject::operator=(const E3dCompoundObject& rObj)
if( this == &rObj )
return *this;
E3dObject::operator=(rObj);
-
- aMaterialAmbientColor = rObj.aMaterialAmbientColor;
-
return *this;
}