From addc8962d19101eb852ffa0a7b2bc0cef416ecfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 21 Feb 2014 10:36:25 +0000 Subject: [PATCH] coverity#738773 Uninitialized scalar field Change-Id: I24374fa86e61b2c43415ca3e0dfb116ee56b0c18 --- lotuswordpro/source/filter/xfilter/xfrubystyle.hxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lotuswordpro/source/filter/xfilter/xfrubystyle.hxx b/lotuswordpro/source/filter/xfilter/xfrubystyle.hxx index 14f2b03edc4d..5302ed3f50ac 100644 --- a/lotuswordpro/source/filter/xfilter/xfrubystyle.hxx +++ b/lotuswordpro/source/filter/xfilter/xfrubystyle.hxx @@ -67,7 +67,11 @@ class XFRubyStyle : public XFStyle { public: - XFRubyStyle(){} + XFRubyStyle() + : m_ePos(enumXFRubyLeft) + , m_eAlign(enumXFRubyLeft) + { + } virtual ~XFRubyStyle(){} virtual void ToXml(IXFStream *strm); void SetPosition(enumXFRubyPosition ePosition);