Mercurial > projects > dwt2
diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/ole/win32/Variant.d @ 38:2e09b0e6857a
work on phobosfication
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 25 Mar 2009 11:18:25 +0100 |
parents | 950d84783eac |
children |
line wrap: on
line diff
--- a/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/ole/win32/Variant.d Wed Mar 25 08:46:48 2009 +0100 +++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/ole/win32/Variant.d Wed Mar 25 11:18:25 2009 +0100 @@ -538,7 +538,7 @@ break; case COM.VT_BSTR : COM.MoveMemory((cast(void*)pData), &type, 2); - wchar[] data = StrToWCHARs(stringData); + StringT data = StrToWCHARs(stringData); auto ptr = COM.SysAllocString(data.ptr); COM.MoveMemory((cast(void*)pData) + 8, &ptr, 4); break;