Kaydet (Commit) 0913b2af authored tarafından Noel Grandin's avatar Noel Grandin

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/49001Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst a0c2d1be
......@@ -63,8 +63,6 @@ bool DataMemberShadow::VisitFieldDecl(FieldDecl const * fieldDecl)
return true;
if (loplugin::isSamePathname(aFileName, SRCDIR "/framework/source/uielement/popuptoolbarcontroller.cxx"))
return true;
if (loplugin::isSamePathname(aFileName, SRCDIR "/lotuswordpro/inc/xfilter/xfcellstyle.hxx"))
return true;
if (loplugin::isSamePathname(aFileName, SRCDIR "/sc/source/ui/vba/vbastyles.hxx"))
return true;
if (loplugin::isSamePathname(aFileName, SRCDIR "/sd/inc/Outliner.hxx"))
......
......@@ -134,7 +134,6 @@ public:
private:
OUString m_strDataStyle;
OUString m_strParentStyleName;
enumXFAlignType m_eHoriAlign;
enumXFAlignType m_eVertAlign;
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment