diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-06-20 20:51:14 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-06-21 18:20:27 +0200 |
commit | 3fecccad4ab76bd005de8dd541da02b67b08e266 (patch) | |
tree | d09aac5f1117cd161494d911da07ca971c0594c3 /connectivity/source/drivers/firebird/Blob.cxx | |
parent | 8ad0fb82d41822aedaa3bef8f6602bd9763c97b8 (diff) |
connecitivty: [loplugin:nullptr]
Change-Id: Ic717e1d119e1a5b8a87caca263322d9e58fe6c68
Diffstat (limited to 'connectivity/source/drivers/firebird/Blob.cxx')
-rw-r--r-- | connectivity/source/drivers/firebird/Blob.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/connectivity/source/drivers/firebird/Blob.cxx b/connectivity/source/drivers/firebird/Blob.cxx index 922887dab1c0..7a7481bb1367 100644 --- a/connectivity/source/drivers/firebird/Blob.cxx +++ b/connectivity/source/drivers/firebird/Blob.cxx @@ -33,7 +33,11 @@ Blob::Blob(isc_db_handle* pDatabaseHandle, m_pDatabaseHandle(pDatabaseHandle), m_pTransactionHandle(pTransactionHandle), m_blobID(aBlobID), +#if SAL_TYPES_SIZEOFPOINTER == 8 m_blobHandle(0), +#else + m_blobHandle(nullptr), +#endif m_bBlobOpened(false), m_nBlobLength(0), m_nBlobPosition(0) @@ -103,7 +107,11 @@ void Blob::closeBlob() evaluateStatusVector(m_statusVector, "isc_close_blob", *this); m_bBlobOpened = false; +#if SAL_TYPES_SIZEOFPOINTER == 8 m_blobHandle = 0; +#else + m_blobHandle = nullptr; +#endif } } |