summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorDaniel Rentz [dr] <daniel.rentz@oracle.com>2011-03-17 10:38:39 +0100
committerDaniel Rentz [dr] <daniel.rentz@oracle.com>2011-03-17 10:38:39 +0100
commit3968b5956fca5a5faf056fbe1f7e1bbadb099269 (patch)
tree9d7fd4b47e2338a77222833f3663f823611e9e8b /oox
parent2021c3e9cfb6eb345aa26d2841e49045a80a5508 (diff)
dr80: #i117418# compiler warning: OptValue<T>::maValue needs to be value-initializedinc
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 84c501fae2e5..d171fc08a495 100644
--- a/oox/inc/oox/helper/helper.hxx
+++ b/oox/inc/oox/helper/helper.hxx
@@ -198,7 +198,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 ) {}