From: Julian Smart Date: Sat, 11 Feb 2006 14:51:16 +0000 (+0000) Subject: Applied part 2 of [ 1415183 ] a couple of wxAutomation object/ole fixes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0a0e6932cdd0469715ffe275466f86987294decf?ds=inline Applied part 2 of [ 1415183 ] a couple of wxAutomation object/ole fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/ole/automtn.cpp b/src/msw/ole/automtn.cpp index 1bccfebca1..6096c4cf78 100644 --- a/src/msw/ole/automtn.cpp +++ b/src/msw/ole/automtn.cpp @@ -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;