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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Jul 26 15:04:56 UTC 2018


 include/basegfx/point/b3dpoint.hxx   |    9 ---------
 include/basegfx/vector/b3dvector.hxx |    9 ---------
 2 files changed, 18 deletions(-)

New commits:
commit 9ba1acca680e80a816666d67b9429284840b7121
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Jul 26 11:58:33 2018 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Jul 26 17:04:32 2018 +0200

    basegfx: avoid -Werror=deprecated-copy (GCC trunk towards GCC 9)
    
    ...by removing explicitly user-provided functions that do the same as their
    implicitly-defined counterparts, but may prevent implicitly declared copy
    functions from being defined as non-deleted in the future
    
    Change-Id: I88d3024ddfa51fc32de71af50cdfadb16ff93ffd
    Reviewed-on: https://gerrit.libreoffice.org/58066
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/include/basegfx/point/b3dpoint.hxx b/include/basegfx/point/b3dpoint.hxx
index c2711202d3de..c044e6bb6ec7 100644
--- a/include/basegfx/point/b3dpoint.hxx
+++ b/include/basegfx/point/b3dpoint.hxx
@@ -64,15 +64,6 @@ namespace basegfx
         :   B3DTuple(fX, fY, fZ)
         {}
 
-        /** Create a copy of a 3D Point
-
-            @param rVec
-            The 3D Point which will be copied.
-        */
-        B3DPoint(const B3DPoint& rVec)
-        :   B3DTuple(rVec)
-        {}
-
         /** constructor with tuple to allow copy-constructing
             from B3DTuple-based classes
         */
diff --git a/include/basegfx/vector/b3dvector.hxx b/include/basegfx/vector/b3dvector.hxx
index efb37aa3f15d..e368f8849091 100644
--- a/include/basegfx/vector/b3dvector.hxx
+++ b/include/basegfx/vector/b3dvector.hxx
@@ -64,15 +64,6 @@ namespace basegfx
         :   B3DTuple(fX, fY, fZ)
         {}
 
-        /** Create a copy of a 3D Vector
-
-            @param rVec
-            The 3D Vector which will be copied.
-        */
-        B3DVector(const B3DVector& rVec)
-        :   B3DTuple(rVec)
-        {}
-
         /** constructor with tuple to allow copy-constructing
             from B3DTuple-based classes
         */


More information about the Libreoffice-commits mailing list