Always remove SwModelTestBase::m_aTempFile

Change-Id: I3719d1ce64bee055a4a7248361f2d2dccaa75cdc
This commit is contained in:
Stephan Bergmann
2014-05-14 17:13:09 +02:00
parent b2096deaff
commit 96084f9426

View File

@@ -132,7 +132,7 @@ public:
mpFilter(pFilter),
m_nStartTime(0),
m_bExported(false)
{}
{ m_aTempFile.EnableKillingFile(); }
virtual ~SwModelTestBase()
{}
@@ -495,7 +495,6 @@ protected:
aMediaDescriptor["FilterName"] <<= aFilterName;
if (!maFilterOptions.isEmpty())
aMediaDescriptor["FilterOptions"] <<= maFilterOptions;
m_aTempFile.EnableKillingFile();
xStorable->storeToURL(m_aTempFile.GetURL(), aMediaDescriptor.getAsConstPropertyValueList());
uno::Reference<lang::XComponent> xComponent(xStorable, uno::UNO_QUERY);
xComponent->dispose();