]> git.saurik.com Git - wxWidgets.git/commitdiff
Applied part 2 of [ 1415183 ] a couple of wxAutomation object/ole fixes
authorJulian Smart <julian@anthemion.co.uk>
Sat, 11 Feb 2006 14:51:16 +0000 (14:51 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sat, 11 Feb 2006 14:51:16 +0000 (14:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/ole/automtn.cpp

index 1bccfebca1507943f8dc4471618bc59394adfe77..6096c4cf78abc696a30c222901912a27691cd5fc 100644 (file)
@@ -851,9 +851,11 @@ static void ReleaseVariant(VARIANTARG *pvarg)
                 break;
 
             case VT_I2:
+            case VT_I4:
             case VT_BOOL:
             case VT_R8:
             case VT_ERROR:        // to avoid erroring on an error return from Excel
+            case VT_EMPTY:
                 // no work for these types
                 break;