[Libreoffice-commits] .: lotuswordpro/source

Julien Nabet serval2412 at kemper.freedesktop.org
Fri Jul 13 15:47:08 PDT 2012


 lotuswordpro/source/filter/xfilter/xfpagemaster.cxx |   25 ++++----------------
 1 file changed, 5 insertions(+), 20 deletions(-)

New commits:
commit 962d78294bec0df5e5120ac8fd10355a6e0e6988
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Jul 14 00:45:57 2012 +0200

    Perform initalization in initialization list
    
    Change-Id: I103af00b8d4f057ecf427914d35aaa02fcf452ae

diff --git a/lotuswordpro/source/filter/xfilter/xfpagemaster.cxx b/lotuswordpro/source/filter/xfilter/xfpagemaster.cxx
index 95e1f98..74a46a1 100644
--- a/lotuswordpro/source/filter/xfilter/xfpagemaster.cxx
+++ b/lotuswordpro/source/filter/xfilter/xfpagemaster.cxx
@@ -68,27 +68,12 @@
 #include    "xffooterstyle.hxx"
 #include    "xfbgimage.hxx"
 
-XFPageMaster::XFPageMaster()
+XFPageMaster::XFPageMaster() : m_fPageWidth(0), m_fPageHeight(0), m_eUsage(enumXFPageUsageNone),
+m_eTextDir(enumXFTextDirNone), m_bPrintOrient(sal_True), m_pBorders(NULL), m_pShadow(NULL),
+m_pColumns(NULL), m_pBGImage(NULL), m_pHeaderStyle(NULL), m_pFooterStyle(NULL),
+m_eSepAlign(enumXFAlignNone), m_fSepWidth(0), m_aSepColor(0), m_fSepSpaceAbove(0),
+m_fSepSpaceBelow(0), m_nSepLengthPercent(0)
 {
-    m_fPageWidth = 0;
-    m_fPageHeight = 0;
-    m_eUsage = enumXFPageUsageNone;
-    m_eTextDir = enumXFTextDirNone;
-    m_bPrintOrient = sal_True;
-    m_pBorders = NULL;
-    m_pShadow = NULL;
-    m_pColumns = NULL;
-    m_pBGImage = NULL;
-
-    m_pHeaderStyle = NULL;
-    m_pFooterStyle = NULL;
-
-    m_eSepAlign = enumXFAlignNone;
-    m_fSepWidth = 0;
-    m_aSepColor = 0;
-    m_fSepSpaceAbove = 0;
-    m_fSepSpaceBelow = 0;
-    m_nSepLengthPercent = 0;
 }
 
 XFPageMaster::~XFPageMaster()


More information about the Libreoffice-commits mailing list