From 4ffcc73fa25f174c2d1e161f02cce2d7afc15e3b Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Fri, 11 Nov 2011 22:31:58 +0100 Subject: WaE: OptValue::maValue may be used uninitialized --- oox/inc/oox/helper/helper.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oox/inc/oox/helper/helper.hxx b/oox/inc/oox/helper/helper.hxx index 25d41312080c..9af1008531fc 100644 --- a/oox/inc/oox/helper/helper.hxx +++ b/oox/inc/oox/helper/helper.hxx @@ -203,7 +203,7 @@ template< typename Type > class OptValue { public: - inline explicit OptValue() : mbHasValue( false ) {} + inline explicit OptValue() : maValue(), mbHasValue( false ) {} inline explicit OptValue( const Type& rValue ) : maValue( rValue ), mbHasValue( true ) {} inline explicit OptValue( bool bHasValue, const Type& rValue ) : maValue( rValue ), mbHasValue( bHasValue ) {} -- cgit