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

Jochen Nitschke j.nitschke+logerrit at ok.de
Wed Dec 27 16:09:16 UTC 2017


 writerfilter/source/dmapper/PropertyMap.cxx |   26 --------------------------
 writerfilter/source/dmapper/PropertyMap.hxx |    1 -
 2 files changed, 27 deletions(-)

New commits:
commit 3b35f1d985d2cd230c0676d01d3f2518acb1e50c
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date:   Wed Dec 27 12:36:26 2017 +0100

    clang-tidy-modernize-use-equals-default in writerfilter
    
    Change-Id: I5725602be8a3da8e58a6885f64a7b720061c11ce
    Reviewed-on: https://gerrit.libreoffice.org/47085
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
    Tested-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/writerfilter/source/dmapper/PropertyMap.cxx b/writerfilter/source/dmapper/PropertyMap.cxx
index 03508ec263c0..e6b58422b9c6 100644
--- a/writerfilter/source/dmapper/PropertyMap.cxx
+++ b/writerfilter/source/dmapper/PropertyMap.cxx
@@ -1591,32 +1591,6 @@ ParagraphProperties::ParagraphProperties()
 {
 }
 
-ParagraphProperties::ParagraphProperties( const ParagraphProperties& rCopy )
-    : m_bFrameMode( rCopy.m_bFrameMode )
-    , m_nDropCap( rCopy.m_nDropCap )
-    , m_nLines( rCopy.m_nLines )
-    , m_w( rCopy.m_w )
-    , m_h( rCopy.m_h )
-    , m_nWrap( rCopy.m_nWrap )
-    , m_hAnchor( rCopy.m_hAnchor )
-    , m_vAnchor( rCopy.m_vAnchor )
-    , m_x( rCopy.m_x )
-    , m_bxValid( rCopy.m_bxValid )
-    , m_y( rCopy.m_y )
-    , m_byValid( rCopy.m_byValid )
-    , m_hSpace( rCopy.m_hSpace )
-    , m_vSpace( rCopy.m_vSpace )
-    , m_hRule( rCopy.m_hRule )
-    , m_xAlign( rCopy.m_xAlign )
-    , m_yAlign( rCopy.m_yAlign )
-    , m_bAnchorLock( rCopy.m_bAnchorLock )
-    , m_nDropCapLength( rCopy.m_nDropCapLength )
-    , m_sParaStyleName( rCopy.m_sParaStyleName )
-    , m_xStartingRange( rCopy.m_xStartingRange )
-    , m_xEndingRange( rCopy.m_xEndingRange )
-{
-}
-
 bool ParagraphProperties::operator==( const ParagraphProperties& rCompare )
 {
     return ( m_bFrameMode  == rCompare.m_bFrameMode &&
diff --git a/writerfilter/source/dmapper/PropertyMap.hxx b/writerfilter/source/dmapper/PropertyMap.hxx
index cc20cd56518d..3e09007d8f6a 100644
--- a/writerfilter/source/dmapper/PropertyMap.hxx
+++ b/writerfilter/source/dmapper/PropertyMap.hxx
@@ -391,7 +391,6 @@ private:
 
 public:
     ParagraphProperties();
-    ParagraphProperties( const ParagraphProperties& );
     virtual ~ParagraphProperties() {}
 
     // Does not compare the starting/ending range, m_sParaStyleName and m_nDropCapLength


More information about the Libreoffice-commits mailing list