Module: wine
Branch: master
Commit: 706b29c47cb046c6d5da40b1add8846a85dfe08b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=706b29c47cb046c6d5da40b1a…
Author: Huw Davies <huw(a)codeweavers.com>
Date: Wed Nov 12 12:39:58 2008 +0000
ole32: Don't issue a warning if a flat copy is all that's required.
---
dlls/ole32/ole2.c | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/dlls/ole32/ole2.c b/dlls/ole32/ole2.c
index 441244c..4be2eb8 100644
--- a/dlls/ole32/ole2.c
+++ b/dlls/ole32/ole2.c
@@ -2815,6 +2815,22 @@ HRESULT WINAPI PropVariantCopy(PROPVARIANT *pvarDest, /* [out] */
switch(pvarSrc->vt)
{
+ case VT_EMPTY:
+ case VT_NULL:
+ case VT_I1:
+ case VT_UI1:
+ case VT_I2:
+ case VT_UI2:
+ case VT_BOOL:
+ case VT_I4:
+ case VT_UI4:
+ case VT_R4:
+ case VT_ERROR:
+ case VT_I8:
+ case VT_UI8:
+ case VT_R8:
+ case VT_CY:
+ case VT_DATE:
case VT_FILETIME:
break;
case VT_STREAM: