summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-03-02 17:46:17 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-03-02 18:40:42 -0600
commit53e9a024dcac33bf2943b9c50a7cf2a587c3b24a (patch)
tree947906fc6b8854274090713fd6a48051ce307b3b /lotuswordpro
parentc7f15b9688aa5982e3e16109e39c166d71874fdd (diff)
coverity#738767: Unitialized scalar field
Change-Id: I922c15f11cfa7013aa184ca54704e86eb9f0b2df
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/xfilter/xffont.cxx49
1 files changed, 25 insertions, 24 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xffont.cxx b/lotuswordpro/source/filter/xfilter/xffont.cxx
index ce2d2bef8a15..be9b9ffa139d 100644
--- a/lotuswordpro/source/filter/xfilter/xffont.cxx
+++ b/lotuswordpro/source/filter/xfilter/xffont.cxx
@@ -60,31 +60,32 @@
#include "xffont.hxx"
XFFont::XFFont()
+ : m_nFontSize(0)
+ , m_nFontSizeAsia(0)
+ , m_nFontSizeComplex(0)
+ , m_bItalic(sal_False)
+ , m_bItalicAsia(sal_False)
+ , m_bItalicComplex(sal_False)
+ , m_bBold(sal_False)
+ , m_bBoldAsia(sal_False)
+ , m_bBoldComplex(sal_False)
+ , m_eUnderline(enumXFUnderlineNone)
+ , m_eCrossout(enumXFCrossoutNone)
+ , m_eRelief(enumXFReliefNone)
+ , m_eTransform(enumXFTransformNone)
+ , m_eEmphasize(enumXFEmphasizeNone)
+ , m_bWordByWord(sal_False)
+ , m_bEmphasizeTop(sal_True)
+ , m_bOutline(sal_False)
+ , m_bShadow(sal_False)
+ , m_bBlink(sal_False)
+ , m_nPosition(33)
+ , m_nScale(58)
+ , m_fCharSpace(0)
+ , m_nWidthScale(100)
+ , m_nFlag(0)
+ , m_bTransparent(sal_False)
{
- m_nFontSize = 0;
- m_nFontSizeAsia = 0;
- m_nFontSizeComplex = 0;
- m_bItalic = sal_False;
- m_bItalicAsia = sal_False;
- m_bItalicComplex = sal_False;
- m_bBold = sal_False;
- m_bBoldAsia = sal_False;
- m_bBoldComplex = sal_False;
- m_eUnderline = enumXFUnderlineNone;
- m_eCrossout = enumXFCrossoutNone;
- m_eRelief = enumXFReliefNone;
- m_eTransform = enumXFTransformNone;
- m_eEmphasize = enumXFEmphasizeNone;
- m_bEmphasizeTop = sal_True;
- m_bOutline = sal_False;
- m_bShadow = sal_False;
- m_bBlink = sal_False;
- m_nPosition = 33;
- m_nScale = 58;
- m_fCharSpace = 0;
- m_nWidthScale = 100;
- m_bWordByWord = sal_False;
- m_nFlag = 0;
}
/*
The Following variable are to be compared: