Kaydet (Commit) cd1a9bc6 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:subtlezeroinit (clang-cl)

Change-Id: I3f080f0c77ba7c5976c8b764e0c7e1f7c78ab47d
üst 4084d5dd
...@@ -433,7 +433,7 @@ void OConnection::buildTypeInfo() ...@@ -433,7 +433,7 @@ void OConnection::buildTypeInfo()
do do
{ {
sal_Int32 nPos = 1; sal_Int32 nPos = 1;
OExtendedTypeInfo* aInfo = new OExtendedTypeInfo(); OExtendedTypeInfo* aInfo = new OExtendedTypeInfo;
aInfo->aSimpleType.aTypeName = ADOS::getField(pRecordset,nPos++).get_Value().getString(); aInfo->aSimpleType.aTypeName = ADOS::getField(pRecordset,nPos++).get_Value().getString();
aInfo->eType = (DataTypeEnum)(sal_Int32)ADOS::getField(pRecordset,nPos++).get_Value().getInt32(); aInfo->eType = (DataTypeEnum)(sal_Int32)ADOS::getField(pRecordset,nPos++).get_Value().getInt32();
if ( aInfo->eType == adWChar && aInfo->aSimpleType.aTypeName == s_sVarChar ) if ( aInfo->eType == adWChar && aInfo->aSimpleType.aTypeName == s_sVarChar )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment