From b0fa01cca2f609a5fa149d164b048cd30e2f6a78 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 29 May 2008 13:35:52 +0000 Subject: [PATCH 1/1] 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 --- 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 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; -- 2.45.2