[Libreoffice-commits] core.git: connectivity/source
Stephan Bergmann
sbergman at redhat.com
Tue Mar 14 13:43:19 UTC 2017
connectivity/source/drivers/ado/AConnection.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit cd1a9bc6b64aeba2a25037af9a832162fde9d280
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Mar 14 14:42:35 2017 +0100
loplugin:subtlezeroinit (clang-cl)
Change-Id: I3f080f0c77ba7c5976c8b764e0c7e1f7c78ab47d
diff --git a/connectivity/source/drivers/ado/AConnection.cxx b/connectivity/source/drivers/ado/AConnection.cxx
index c83d85d..6bee256 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 )
More information about the Libreoffice-commits
mailing list