summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-05-15 11:35:38 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-05-15 11:35:38 +0200
commit3385b0da3d6ffec25538692d3c49b2e1924dddae (patch)
tree49ac13f0d243cacb2b717f86f5a548c179974871 /sfx2
parent22aa9fce300f9953dc43fc75f8ced4caab5c3f83 (diff)
Minor utl::TempFile clean up
Change-Id: I20de8b2321d2656d17d25c6343d72c534d47e597
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/docfile.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index 1f0c595afe45..ec0ebbecaf9e 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -2036,7 +2036,6 @@ void SfxMedium::DoInternalBackup_Impl( const ::ucbhelper::Content& aOriginalCont
return; // the backup was done already
::utl::TempFile aTransactTemp( aPrefix, true, &aExtension, &aDestDir );
- aTransactTemp.EnableKillingFile( false );
INetURLObject aBackObj( aTransactTemp.GetURL() );
OUString aBackupName = aBackObj.getName( INetURLObject::LAST_SEGMENT, true, INetURLObject::DECODE_WITH_CHARSET );
@@ -2063,7 +2062,7 @@ void SfxMedium::DoInternalBackup_Impl( const ::ucbhelper::Content& aOriginalCont
}
if ( pImp->m_aBackupURL.isEmpty() )
- aTransactTemp.EnableKillingFile( true );
+ aTransactTemp.EnableKillingFile();
}