diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-28 16:05:30 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-29 09:35:16 +0000 |
commit | c581db082228048112ba2f71bbfcecea683c93ba (patch) | |
tree | c988af4dc7ee53e2d487b61498db23aa37051d12 /lotuswordpro/source/filter/xfilter/xfbgimage.cxx | |
parent | 47405e009500538732926739ae4b2636c0957238 (diff) |
use initialization list in lotuswordpro
this exposes 3 unused private members, detete them.
reorder some initialization to match declaration order.
remove a broken and redundant member initialization
and destruction in xfindex.cxx
(starts loop at 1 and default ctor/dtor do the same)
simplify default ctor in xfframe.cxx
Change-Id: Iaada8849e030d494a9bc7f7b0c3f8f1da3828290
Reviewed-on: https://gerrit.libreoffice.org/24466
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'lotuswordpro/source/filter/xfilter/xfbgimage.cxx')
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfbgimage.cxx | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xfbgimage.cxx b/lotuswordpro/source/filter/xfilter/xfbgimage.cxx index 221e5d4223e8..b7691a651ec9 100644 --- a/lotuswordpro/source/filter/xfilter/xfbgimage.cxx +++ b/lotuswordpro/source/filter/xfilter/xfbgimage.cxx @@ -61,14 +61,13 @@ #include "xfbase64.hxx" XFBGImage::XFBGImage() -{ - m_bUserFileLink = false; - m_bRepeate = false; - m_bStretch = false; - m_bPosition = true; - m_eHoriAlign = enumXFAlignCenter; - m_eVertAlign = enumXFAlignCenter; -} + : m_bUserFileLink(false) + , m_bRepeate(false) + , m_bStretch(false) + , m_bPosition(true) + , m_eHoriAlign(enumXFAlignCenter) + , m_eVertAlign(enumXFAlignCenter) +{} void XFBGImage::SetImageData(sal_uInt8 *buf, int len) { |