From: Vadim Zeitlin Date: Thu, 29 May 2008 13:35:52 +0000 (+0000) Subject: don't give an error if VT_DATE variant is being released, there is nothing to do... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b0fa01cca2f609a5fa149d164b048cd30e2f6a78?ds=sidebyside;hp=fe267c2fad7b47d09da3985702813bed7387870c 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 --- diff --git a/src/msw/ole/automtn.cpp b/src/msw/ole/automtn.cpp index 3ca89f3231..ed03f00d7f 100644 --- a/src/msw/ole/automtn.cpp +++ b/src/msw/ole/automtn.cpp @@ -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;