summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-04-03 10:15:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-04-03 14:23:26 +0200
commit4f62a5cc66dc56cd208a76a7d85f6d15b9196e62 (patch)
tree58be1631e639ac68ff822c8360b5e0a17a3b7c56 /connectivity
parent282fcde9d28a033db0d4eb7e6b106f448c359980 (diff)
coverity#1433773 Useless call
Change-Id: I8d9ff2495f9db573a6f3d1dc40e43dfba3ba8271 Reviewed-on: https://gerrit.libreoffice.org/52295 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/firebird/Driver.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/connectivity/source/drivers/firebird/Driver.cxx b/connectivity/source/drivers/firebird/Driver.cxx
index 8a6ebafdb897..c93b4876875d 100644
--- a/connectivity/source/drivers/firebird/Driver.cxx
+++ b/connectivity/source/drivers/firebird/Driver.cxx
@@ -72,12 +72,6 @@ FirebirdDriver::FirebirdDriver(const css::uno::Reference< css::uno::XComponentCo
, m_firebirdTMPDirectory(nullptr, true)
, m_firebirdLockDirectory(nullptr, true)
{
- // Note: TempFile caches the URL on first access; call this here so that
- // ~FirebirdDriver is not the first access, because that is called
- // when the ServiceManager is disposing, so GetURL() would fail!
- m_firebirdTMPDirectory.GetURL();
- m_firebirdLockDirectory.GetURL();
-
// ::utl::TempFile uses a unique temporary directory (subdirectory of
// /tmp or other user specific tmp directory) per instance in which
// we can create directories for firebird at will.