connectivity/source/drivers/ado/AConnection.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cd1a9bc6b64aeba2a25037af9a832162fde9d280
Author: Stephan Bergmann <sberg...@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 )
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to