summaryrefslogtreecommitdiff
path: root/svx/source/engine3d/obj3d.cxx
diff options
context:
space:
mode:
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;
}