the old filter does not support parsing without a destination document

This commit is contained in:
Miklos Vajna 2011-08-03 16:36:13 +02:00
parent 8560e419af
commit 735dea2d93

View file

@ -71,7 +71,7 @@ sal_Bool RtfFilter::filter( const uno::Sequence< beans::PropertyValue >& aDescri
} }
SvtMiscOptions aMiscOptions; SvtMiscOptions aMiscOptions;
if (aMiscOptions.IsExperimentalMode()) if (aMiscOptions.IsExperimentalMode() || !m_xDstDoc.is() )
{ {
MediaDescriptor aMediaDesc( aDescriptor ); MediaDescriptor aMediaDesc( aDescriptor );
#ifdef DEBUG_IMPORT #ifdef DEBUG_IMPORT