Kaydet (Commit) fd4f65e9 authored tarafından Caolán McNamara's avatar Caolán McNamara

valgrind: use of uninitialized variable

Change-Id: I57de2d1ab4597cf3ef9eae08dfdbda1d5abff621
üst fe0ed1e8
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment