valgrind: use of uninitialized variable

Change-Id: I57de2d1ab4597cf3ef9eae08dfdbda1d5abff621
This commit is contained in:
Caolán McNamara
2012-11-17 13:13:31 +00:00
parent fe0ed1e8bb
commit fd4f65e952

View File

@@ -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
}