diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-31 16:13:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-01 07:06:46 +0100 |
commit | 0913b2af7d2443099626f65f6105fc67e5fccb56 (patch) | |
tree | 20662f6d496a1f4d9de1724403d8152359a715e1 /lotuswordpro | |
parent | a0c2d1be6a5ce1edb2e8b64a96d7d4d0d92f310c (diff) |
loplugin:datamembershadow in XFCellStyle
looks like the subclass member is never written to, so I'm going to
assume this was a bug
Change-Id: Ic56c4a30cd139415eb08c4d572273dad2411b514
Reviewed-on: https://gerrit.libreoffice.org/49001
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/inc/xfilter/xfcellstyle.hxx | 1 | ||||
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfparastyle.cxx | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/lotuswordpro/inc/xfilter/xfcellstyle.hxx b/lotuswordpro/inc/xfilter/xfcellstyle.hxx index ee3a2c6a8b4a..6dc5724e7784 100644 --- a/lotuswordpro/inc/xfilter/xfcellstyle.hxx +++ b/lotuswordpro/inc/xfilter/xfcellstyle.hxx @@ -134,7 +134,6 @@ public: private: OUString m_strDataStyle; - OUString m_strParentStyleName; enumXFAlignType m_eHoriAlign; enumXFAlignType m_eVertAlign; diff --git a/lotuswordpro/source/filter/xfilter/xfparastyle.cxx b/lotuswordpro/source/filter/xfilter/xfparastyle.cxx index 04de9138e488..97ac01022f80 100644 --- a/lotuswordpro/source/filter/xfilter/xfparastyle.cxx +++ b/lotuswordpro/source/filter/xfilter/xfparastyle.cxx @@ -103,8 +103,6 @@ XFParaStyle::XFParaStyle(const XFParaStyle& other) , m_nFlag(other.m_nFlag) , m_bNumberRight(other.m_bNumberRight) { - m_strParentStyleName = other.m_strParentStyleName; - if( other.m_pBorders ) m_pBorders = new XFBorders(*other.m_pBorders); else |