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

Jochen Nitschke j.nitschke+logerrit at ok.de
Sun Jul 30 19:57:49 UTC 2017


 include/drawinglayer/primitive2d/borderlineprimitive2d.hxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 0160766097798806ce89533b25124477b1a2996a
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date:   Sun Jul 30 17:47:49 2017 +0200

    blind fix for MacOS build
    
    description of problem here:
    https://lists.freedesktop.org/archives/libreoffice/2017-July/078168.html
    
    There is no need for a explicit delete of operator!= .
    C++ doesn't generate comparison operators for objects even if one
    kind is defined (here operator==).
    
    Change-Id: Ifb22b3f9baa5ca23a4b64800d601cec66dcf39e0
    Reviewed-on: https://gerrit.libreoffice.org/40566
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Jochen Nitschke <j.nitschke+logerrit at ok.de>

diff --git a/include/drawinglayer/primitive2d/borderlineprimitive2d.hxx b/include/drawinglayer/primitive2d/borderlineprimitive2d.hxx
index a174dcb9dd1e..24916190757e 100644
--- a/include/drawinglayer/primitive2d/borderlineprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/borderlineprimitive2d.hxx
@@ -49,9 +49,6 @@ namespace drawinglayer
             double              mfExtendStart;
             double              mfExtendEnd;
 
-            // not implemented
-            virtual bool operator!=(const BorderLine& rBorderLine) const = delete;
-
         public:
             BorderLine(
                 double fWidth,


More information about the Libreoffice-commits mailing list