[Libreoffice-commits] core.git: basegfx/source

Jochen Nitschke j.nitschke+logerrit at ok.de
Tue Jun 27 11:31:46 UTC 2017


 basegfx/source/polygon/b2dpolygon.cxx |    5 -----
 basegfx/source/polygon/b3dpolygon.cxx |   23 -----------------------
 2 files changed, 28 deletions(-)

New commits:
commit b4f16b8ea466229c380dc39fd597fef34c6c0dee
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date:   Tue Jun 27 12:32:25 2017 +0200

    basegfx: remove trivial copy ctors
    
    Change-Id: If6668552ec56d1b6439ead56fb2d77491a84ea13
    Reviewed-on: https://gerrit.libreoffice.org/39295
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/basegfx/source/polygon/b2dpolygon.cxx b/basegfx/source/polygon/b2dpolygon.cxx
index eb30efb838c7..00eaa89d1282 100644
--- a/basegfx/source/polygon/b2dpolygon.cxx
+++ b/basegfx/source/polygon/b2dpolygon.cxx
@@ -62,11 +62,6 @@ public:
     {
     }
 
-    explicit CoordinateDataArray2D(const CoordinateDataArray2D& rOriginal)
-    :   maVector(rOriginal.maVector)
-    {
-    }
-
     CoordinateDataArray2D(const CoordinateDataArray2D& rOriginal, sal_uInt32 nIndex, sal_uInt32 nCount)
     :   maVector(rOriginal.maVector.begin() + nIndex, rOriginal.maVector.begin() + (nIndex + nCount))
     {
diff --git a/basegfx/source/polygon/b3dpolygon.cxx b/basegfx/source/polygon/b3dpolygon.cxx
index 848bd2cf0c51..d28d31c7f2d8 100644
--- a/basegfx/source/polygon/b3dpolygon.cxx
+++ b/basegfx/source/polygon/b3dpolygon.cxx
@@ -77,11 +77,6 @@ public:
     {
     }
 
-    explicit CoordinateDataArray3D(const CoordinateDataArray3D& rOriginal)
-    :   maVector(rOriginal.maVector)
-    {
-    }
-
     CoordinateDataArray3D(const CoordinateDataArray3D& rOriginal, sal_uInt32 nIndex, sal_uInt32 nCount)
     :   maVector(rOriginal.maVector.begin() + nIndex, rOriginal.maVector.begin() + (nIndex + nCount))
     {
@@ -255,12 +250,6 @@ public:
     {
     }
 
-    explicit BColorArray(const BColorArray& rOriginal)
-    :   maVector(rOriginal.maVector),
-        mnUsedEntries(rOriginal.mnUsedEntries)
-    {
-    }
-
     BColorArray(const BColorArray& rOriginal, sal_uInt32 nIndex, sal_uInt32 nCount)
     :   maVector(),
         mnUsedEntries(0)
@@ -409,12 +398,6 @@ public:
     {
     }
 
-    explicit NormalsArray3D(const NormalsArray3D& rOriginal)
-    :   maVector(rOriginal.maVector),
-        mnUsedEntries(rOriginal.mnUsedEntries)
-    {
-    }
-
     NormalsArray3D(const NormalsArray3D& rOriginal, sal_uInt32 nIndex, sal_uInt32 nCount)
     :   maVector(),
         mnUsedEntries(0)
@@ -572,12 +555,6 @@ public:
     {
     }
 
-    explicit TextureCoordinate2D(const TextureCoordinate2D& rOriginal)
-    :   maVector(rOriginal.maVector),
-        mnUsedEntries(rOriginal.mnUsedEntries)
-    {
-    }
-
     TextureCoordinate2D(const TextureCoordinate2D& rOriginal, sal_uInt32 nIndex, sal_uInt32 nCount)
     :   maVector(),
         mnUsedEntries(0)


More information about the Libreoffice-commits mailing list