summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-07-14 00:45:57 +0200
committerJulien Nabet <serval2412@yahoo.fr>2012-07-14 00:46:46 +0200
commit962d78294bec0df5e5120ac8fd10355a6e0e6988 (patch)
treee9f40bf0641209f876b44834aa91bf5bb4879cdf /lotuswordpro
parent9caf0b7cfe9b7fae046940c5d5bd0049aa585d4a (diff)
Perform initalization in initialization list
Change-Id: I103af00b8d4f057ecf427914d35aaa02fcf452ae
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/xfilter/xfpagemaster.cxx25
1 files changed, 5 insertions, 20 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xfpagemaster.cxx b/lotuswordpro/source/filter/xfilter/xfpagemaster.cxx
index 95e1f9863b9b..74a46a14c8f3 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()