[Libreoffice-commits] .: oox/inc
Miklos Vajna
vmiklos at kemper.freedesktop.org
Fri Nov 11 13:32:04 PST 2011
oox/inc/oox/helper/helper.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4ffcc73fa25f174c2d1e161f02cce2d7afc15e3b
Author: Miklos Vajna <vmiklos at frugalware.org>
Date: Fri Nov 11 22:31:58 2011 +0100
WaE: OptValue::maValue may be used uninitialized
diff --git a/oox/inc/oox/helper/helper.hxx b/oox/inc/oox/helper/helper.hxx
index 25d4131..9af1008 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 ) {}
More information about the Libreoffice-commits
mailing list