diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-09-15 12:08:47 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-09-15 12:08:47 +0200 |
commit | 86f6fc069f6ad8afea4092fb493014d2b69467d6 (patch) | |
tree | ea68fcf9142d73d7fcd558e2b56cea4c073937bb /connectivity/source/drivers/firebird | |
parent | f6536d875bff70767b5bf389fe2ae34802a6b022 (diff) |
connectivity: firebird: loplugin:nullptr
Change-Id: Ia711be1238de87ac5b52b02de077b70220369e4b
Diffstat (limited to 'connectivity/source/drivers/firebird')
-rw-r--r-- | connectivity/source/drivers/firebird/Connection.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/connectivity/source/drivers/firebird/Connection.cxx b/connectivity/source/drivers/firebird/Connection.cxx index ba2998f3e6cf..17528d714abc 100644 --- a/connectivity/source/drivers/firebird/Connection.cxx +++ b/connectivity/source/drivers/firebird/Connection.cxx @@ -590,7 +590,11 @@ void Connection::loadDatabaseFile(const OUString& srcLocation, const OUString& t isc_svc_handle Connection::attachServiceManager() { ISC_STATUS_ARRAY aStatusVector; +#if SAL_TYPES_SIZEOFPOINTER == 8 isc_svc_handle aServiceHandle = 0; +#else + isc_svc_handle aServiceHandle = nullptr; +#endif char aSPBBuffer[256]; char* pSPB = aSPBBuffer; |