diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-09-02 10:45:50 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-09-02 17:20:20 +0200 |
commit | 846fcc03b89a7131f565de95396757c8e0da1dfd (patch) | |
tree | 2d741d9fd114a229f72e0f6a46ca68bc6e3b25d5 /connectivity/source | |
parent | 34a9f93018804044b756e0e49c7ea759a65d3dc4 (diff) |
Use utl::TempFile::EnableKillingFile
Helps keep temp directory clean also on exceptions
Change-Id: I81c17d90d6905653db946e68faf2a7f59c17da15
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121466
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'connectivity/source')
-rw-r--r-- | connectivity/source/drivers/firebird/Connection.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/connectivity/source/drivers/firebird/Connection.cxx b/connectivity/source/drivers/firebird/Connection.cxx index 9e574b1f8cca..cc4ee39ff155 100644 --- a/connectivity/source/drivers/firebird/Connection.cxx +++ b/connectivity/source/drivers/firebird/Connection.cxx @@ -915,11 +915,7 @@ void Connection::disposing() cppu::WeakComponentImplHelperBase::disposing(); - if (m_pDatabaseFileDir) - { - ::utl::removeTree(m_pDatabaseFileDir->GetURL()); - m_pDatabaseFileDir.reset(); - } + m_pDatabaseFileDir.reset(); } void Connection::disposeStatements() |