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

Caolán McNamara caolanm at redhat.com
Fri Sep 23 09:36:10 UTC 2016


 vcl/source/filter/wmf/winmtf.hxx |   18 ------------------
 1 file changed, 18 deletions(-)

New commits:
commit 01e4697b6ddd3193cba7a46a033dadf97e21135c
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Sep 23 10:32:01 2016 +0100

    default assignment operators are good enough
    
    Change-Id: Iaa7fd4112084d673cf768ebb732e1ea8a3383bdc

diff --git a/vcl/source/filter/wmf/winmtf.hxx b/vcl/source/filter/wmf/winmtf.hxx
index 88bf73e..27ac58f 100644
--- a/vcl/source/filter/wmf/winmtf.hxx
+++ b/vcl/source/filter/wmf/winmtf.hxx
@@ -337,16 +337,6 @@ struct WinMtfFillStyle : GDIObj
             && bTransparent == rStyle.bTransparent
             && aType == rStyle.aType;
     }
-
-    WinMtfFillStyle& operator=(const WinMtfFillStyle& rStyle)
-    {
-        aFillColor = rStyle.aFillColor;
-        bTransparent = rStyle.bTransparent;
-        aBmp = rStyle.aBmp;
-        aType = rStyle.aType;
-        return *this;
-    }
-
 };
 
 struct WinMtfLineStyle : GDIObj
@@ -378,14 +368,6 @@ struct WinMtfLineStyle : GDIObj
             && aLineInfo == rStyle.aLineInfo;
     }
 
-    WinMtfLineStyle& operator=( const WinMtfLineStyle& rStyle )
-    {
-        aLineColor = rStyle.aLineColor;
-        bTransparent = rStyle.bTransparent;
-        aLineInfo = rStyle.aLineInfo;
-        return *this;
-    }
-
     WinMtfLineStyle& operator=( WinMtfLineStyle* pStyle )
     {
         aLineColor = pStyle->aLineColor;


More information about the Libreoffice-commits mailing list