summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2017-06-28 10:23:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-28 14:20:44 +0200
commit594331cc811fb9a684b5f1c871b679444b8cd51d (patch)
tree56a26754e766bf6a8b0dc67bbe9e3597d9b8fd2f /drawinglayer
parent8a6ed98b00cb91dbe5b807051715858a2dc90883 (diff)
remove default-able copy ctors and copy operators
The implicit defined ctors and operators will copy all members (and bases). Since C++11 implicit copy is depreciated if there is a non-default dtor, keep such copies. This commit includes only types that had either copy ctor or copy operator and were found by cppcheck. Change-Id: I93ee687fb3b3c5884f475a2c6054955cdde57ed7 Reviewed-on: https://gerrit.libreoffice.org/39351 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/processor3d/zbufferprocessor3d.cxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/drawinglayer/source/processor3d/zbufferprocessor3d.cxx b/drawinglayer/source/processor3d/zbufferprocessor3d.cxx
index 1ce54a3bfe36..0d9354cf303c 100644
--- a/drawinglayer/source/processor3d/zbufferprocessor3d.cxx
+++ b/drawinglayer/source/processor3d/zbufferprocessor3d.cxx
@@ -403,21 +403,6 @@ public:
{
}
- RasterPrimitive3D& operator=(const RasterPrimitive3D& rComp)
- {
- mpGeoTexSvx = rComp.mpGeoTexSvx;
- mpTransparenceGeoTexSvx = rComp.mpTransparenceGeoTexSvx;
- maMaterial = rComp.maMaterial;
- maPolyPolygon = rComp.maPolyPolygon;
- mfCenterZ = rComp.mfCenterZ;
- mbModulate = rComp.mbModulate;
- mbFilter = rComp.mbFilter;
- mbSimpleTextureActive = rComp.mbSimpleTextureActive;
- mbIsLine = rComp.mbIsLine;
-
- return *this;
- }
-
bool operator<(const RasterPrimitive3D& rComp) const
{
return mfCenterZ < rComp.mfCenterZ;