don't give an error if VT_DATE variant is being released, there is nothing to do for it anyhow (closes #4527)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2008-05-29 13:35:52 +00:00
parent fe267c2fad
commit b0fa01cca2

View File

@ -886,6 +886,7 @@ static void ReleaseVariant(VARIANTARG *pvarg)
case VT_R8:
case VT_ERROR: // to avoid erroring on an error return from Excel
case VT_EMPTY:
case VT_DATE:
// no work for these types
break;