diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-14 14:42:35 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-14 14:42:35 +0100 |
commit | cd1a9bc6b64aeba2a25037af9a832162fde9d280 (patch) | |
tree | 3876c13464f39a3fb15d515396f1c0e9e7ed856e | |
parent | 4084d5dd5bb47e39f79d46a62ba5098ffcc4663e (diff) |
loplugin:subtlezeroinit (clang-cl)
Change-Id: I3f080f0c77ba7c5976c8b764e0c7e1f7c78ab47d
-rw-r--r-- | connectivity/source/drivers/ado/AConnection.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/ado/AConnection.cxx b/connectivity/source/drivers/ado/AConnection.cxx index c83d85d8c385..6bee25654e50 100644 --- a/connectivity/source/drivers/ado/AConnection.cxx +++ b/connectivity/source/drivers/ado/AConnection.cxx @@ -433,7 +433,7 @@ void OConnection::buildTypeInfo() do { sal_Int32 nPos = 1; - OExtendedTypeInfo* aInfo = new OExtendedTypeInfo(); + OExtendedTypeInfo* aInfo = new OExtendedTypeInfo; aInfo->aSimpleType.aTypeName = ADOS::getField(pRecordset,nPos++).get_Value().getString(); aInfo->eType = (DataTypeEnum)(sal_Int32)ADOS::getField(pRecordset,nPos++).get_Value().getInt32(); if ( aInfo->eType == adWChar && aInfo->aSimpleType.aTypeName == s_sVarChar ) |