summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-14 14:42:35 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-14 14:42:35 +0100
commitcd1a9bc6b64aeba2a25037af9a832162fde9d280 (patch)
tree3876c13464f39a3fb15d515396f1c0e9e7ed856e /connectivity
parent4084d5dd5bb47e39f79d46a62ba5098ffcc4663e (diff)
loplugin:subtlezeroinit (clang-cl)
Change-Id: I3f080f0c77ba7c5976c8b764e0c7e1f7c78ab47d
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/ado/AConnection.cxx2
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 )