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

Stephan Bergmann sbergman at redhat.com
Tue Feb 21 06:39:10 UTC 2017


 lotuswordpro/source/filter/lwpfribptr.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 3eab8a00bbe46d00edf20ef0295b588197e91261
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Feb 21 07:38:42 2017 +0100

    loplugin:subtlezeroinit: lotuswordpro
    
    Change-Id: I8e95fa92f0a56ac7f4d5379253b7161b9d2a813f

diff --git a/lotuswordpro/source/filter/lwpfribptr.cxx b/lotuswordpro/source/filter/lwpfribptr.cxx
index f6e6f62..c894254 100644
--- a/lotuswordpro/source/filter/lwpfribptr.cxx
+++ b/lotuswordpro/source/filter/lwpfribptr.cxx
@@ -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;


More information about the Libreoffice-commits mailing list