]> git.saurik.com Git - wxWidgets.git/commitdiff
don't give an error if VT_DATE variant is being released, there is nothing to do...
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 29 May 2008 13:35:52 +0000 (13:35 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 29 May 2008 13:35:52 +0000 (13:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/ole/automtn.cpp

index 3ca89f3231cc7576017cc6212396e637c6f64b4e..ed03f00d7f0033e44b02cf986524a9beefca05ca 100644 (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;