diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-02-28 12:35:50 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-02-28 12:35:50 +0000 |
commit | 11c92df5e61aba0e37a4b3d6e5aaace084812d71 (patch) | |
tree | e4e8541cfda1b2c127a21f12c45590d54de8fc36 /lotuswordpro | |
parent | b9483aacadf443e57f7708f8db64aeeba4666f2a (diff) |
loplugin:subtlezeroinit
Change-Id: I29197c9a4093d904d1f7b990de08fbf8254c168e
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwppagelayout.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwppagelayout.cxx b/lotuswordpro/source/filter/lwppagelayout.cxx index 35d6119bb175..45e1047956c2 100644 --- a/lotuswordpro/source/filter/lwppagelayout.cxx +++ b/lotuswordpro/source/filter/lwppagelayout.cxx @@ -339,7 +339,7 @@ void LwpPageLayout::RegisterStyle() OUString pmname = pm1->GetStyleName(); //Add master page - XFMasterPage* p1 = new XFMasterPage(); + XFMasterPage* p1 = new XFMasterPage; p1->SetStyleName(GetName().str()); p1->SetPageMaster(pmname); p1 = static_cast<XFMasterPage*>(pXFStyleManager->AddStyle(p1).m_pStyle); @@ -398,7 +398,7 @@ OUString LwpPageLayout::RegisterEndnoteStyle() OUString pmname = pm1->GetStyleName(); //Add master page - XFMasterPage* p1 = new XFMasterPage(); + XFMasterPage* p1 = new XFMasterPage; p1->SetStyleName("Endnote"); p1->SetPageMaster(pmname); |