From 652c9faec724a554ef87761b39bf3525798fa2d1 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 10 Apr 2014 21:02:50 +0100 Subject: coverity#708393 Uninitialized scalar field Change-Id: Ief5553eb76c09fe2ed2a05ab2b2f67d03837517e --- svx/source/xml/xmlgrhlp.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'svx') diff --git a/svx/source/xml/xmlgrhlp.cxx b/svx/source/xml/xmlgrhlp.cxx index 3f4a051a8151..7e00eb37c239 100644 --- a/svx/source/xml/xmlgrhlp.cxx +++ b/svx/source/xml/xmlgrhlp.cxx @@ -353,9 +353,11 @@ SvXMLGraphicHelper::SvXMLGraphicHelper( SvXMLGraphicHelperMode eCreateMode ) : Init( NULL, eCreateMode, false ); } -SvXMLGraphicHelper::SvXMLGraphicHelper() : - ::cppu::WeakComponentImplHelper2< ::com::sun::star::document::XGraphicObjectResolver, +SvXMLGraphicHelper::SvXMLGraphicHelper() + : ::cppu::WeakComponentImplHelper2< ::com::sun::star::document::XGraphicObjectResolver, ::com::sun::star::document::XBinaryStreamResolver >( maMutex ) + , meCreateMode(GRAPHICHELPER_MODE_READ) + , mbDirect(false) { } -- cgit