loplugin:subtlezeroinit: lotuswordpro

Change-Id: I8e95fa92f0a56ac7f4d5379253b7161b9d2a813f
This commit is contained in:
Stephan Bergmann
2017-02-21 07:38:42 +01:00
parent e972d6bb36
commit 3eab8a00bb

View File

@@ -195,13 +195,13 @@ void LwpFribPtr::XFConvert()
{
XFTextSpan *pSpan = new XFTextSpan();
pSpan->SetStyleName(tabFrib->GetStyleName());
XFTabStop *pTab = new XFTabStop();
XFTabStop *pTab = new XFTabStop;
pSpan->Add(pTab);
m_pXFPara->Add(pSpan);
}
else
{
XFTabStop *pTab = new XFTabStop();
XFTabStop *pTab = new XFTabStop;
m_pXFPara->Add(pTab);
}
}
@@ -248,7 +248,7 @@ void LwpFribPtr::XFConvert()
break;
case FRIB_TAG_LINEBREAK:
{
XFLineBreak *pLineBreak = new XFLineBreak();
XFLineBreak *pLineBreak = new XFLineBreak;
m_pXFPara->Add(pLineBreak);
}
break;