summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/firebird/PreparedStatement.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-06-20 20:51:14 +0200
committerMichael Stahl <mstahl@redhat.com>2016-06-21 18:20:27 +0200
commit3fecccad4ab76bd005de8dd541da02b67b08e266 (patch)
treed09aac5f1117cd161494d911da07ca971c0594c3 /connectivity/source/drivers/firebird/PreparedStatement.cxx
parent8ad0fb82d41822aedaa3bef8f6602bd9763c97b8 (diff)
connecitivty: [loplugin:nullptr]
Change-Id: Ic717e1d119e1a5b8a87caca263322d9e58fe6c68
Diffstat (limited to 'connectivity/source/drivers/firebird/PreparedStatement.cxx')
-rw-r--r--connectivity/source/drivers/firebird/PreparedStatement.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/connectivity/source/drivers/firebird/PreparedStatement.cxx b/connectivity/source/drivers/firebird/PreparedStatement.cxx
index bce48fb312df..007714da0c5c 100644
--- a/connectivity/source/drivers/firebird/PreparedStatement.cxx
+++ b/connectivity/source/drivers/firebird/PreparedStatement.cxx
@@ -485,7 +485,11 @@ void SAL_CALL OPreparedStatement::setBlob(sal_Int32 nParameterIndex,
::osl::MutexGuard aGuard(m_aMutex);
checkDisposed(OStatementCommonBase_Base::rBHelper.bDisposed);
+#if SAL_TYPES_SIZEOFPOINTER == 8
isc_blob_handle aBlobHandle = 0;
+#else
+ isc_blob_handle aBlobHandle = nullptr;
+#endif
ISC_QUAD aBlobId;
openBlobForWriting(aBlobHandle, aBlobId);
@@ -585,7 +589,11 @@ void SAL_CALL OPreparedStatement::setBytes(sal_Int32 nParameterIndex,
::osl::MutexGuard aGuard(m_aMutex);
checkDisposed(OStatementCommonBase_Base::rBHelper.bDisposed);
+#if SAL_TYPES_SIZEOFPOINTER == 8
isc_blob_handle aBlobHandle = 0;
+#else
+ isc_blob_handle aBlobHandle = nullptr;
+#endif
ISC_QUAD aBlobId;
openBlobForWriting(aBlobHandle, aBlobId);