diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-11-17 13:13:31 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-11-17 20:10:51 +0000 |
commit | fd4f65e9524c71b4ad2a800b7b16de9bb51230b3 (patch) | |
tree | 72f8368779079f4abc30a621e740b06e058aeaa8 /oox | |
parent | fe0ed1e8bbc0cf8d0957474dcbd42b7153adb09b (diff) |
valgrind: use of uninitialized variable
Change-Id: I57de2d1ab4597cf3ef9eae08dfdbda1d5abff621
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/core/filterbase.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/oox/source/core/filterbase.cxx b/oox/source/core/filterbase.cxx index 2749e18fb919..00892dbeca52 100644 --- a/oox/source/core/filterbase.cxx +++ b/oox/source/core/filterbase.cxx @@ -166,6 +166,7 @@ struct FilterBaseImpl FilterBaseImpl::FilterBaseImpl( const Reference< XComponentContext >& rxContext ) throw( RuntimeException ) : meDirection( FILTERDIRECTION_UNKNOWN ), + meVersion( ECMA_DIALECT ), mxComponentContext( rxContext, UNO_SET_THROW ), mxComponentFactory( rxContext->getServiceManager(), UNO_SET_THROW ), mxServiceFactory( rxContext->getServiceManager(), UNO_QUERY_THROW ) @@ -562,7 +563,7 @@ void FilterBase::setMediaDescriptor( const Sequence< PropertyValue >& rMediaDesc sal_Int32 nVersion = aProps.getUnpackedValueOrDefault( CREATE_OUSTRING( "FileFormatVersion" ), sal_Int32( 0 ) ); mxImpl->meVersion = OoxmlVersion( nVersion ); } - catch ( Exception& ) + catch ( const Exception& ) { // Not ISO OOXML } |