From 09cd20825b95a7500f62c552408ed70cf1318f37 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 29 May 2008 13:35:52 +0000 Subject: [PATCH] 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/branches/WX_2_8_BRANCH@53817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/ole/automtn.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/msw/ole/automtn.cpp b/src/msw/ole/automtn.cpp index 86de5628a5..75d954e5a0 100644 --- a/src/msw/ole/automtn.cpp +++ b/src/msw/ole/automtn.cpp @@ -862,6 +862,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;