[Libreoffice-commits] core.git: sw/qa

Stephan Bergmann sbergman at redhat.com
Wed May 14 08:13:45 PDT 2014


 sw/qa/extras/inc/swmodeltestbase.hxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 96084f9426f0184be722da800797df37f008dc9b
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed May 14 17:13:09 2014 +0200

    Always remove SwModelTestBase::m_aTempFile
    
    Change-Id: I3719d1ce64bee055a4a7248361f2d2dccaa75cdc

diff --git a/sw/qa/extras/inc/swmodeltestbase.hxx b/sw/qa/extras/inc/swmodeltestbase.hxx
index daac08b..84f445d 100644
--- a/sw/qa/extras/inc/swmodeltestbase.hxx
+++ b/sw/qa/extras/inc/swmodeltestbase.hxx
@@ -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();


More information about the Libreoffice-commits mailing list