summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2011-11-11 22:31:58 +0100
committerMiklos Vajna <vmiklos@frugalware.org>2011-11-11 22:33:00 +0100
commit4ffcc73fa25f174c2d1e161f02cce2d7afc15e3b (patch)
treee14633c9c6df6787584836eb81abc7abbbaa8723 /oox
parentd43c83f3b934e32409f3a08fcc94a8864a448076 (diff)
WaE: OptValue::maValue may be used uninitialized
Diffstat (limited to 'oox')
-rw-r--r--oox/inc/oox/helper/helper.hxx2
1 files changed, 1 insertions, 1 deletions
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 ) {}