diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/ole/win32/OleClientSite.d @ 38:2e09b0e6857a

work on phobosfication
author Frank Benoit <benoit@tionex.de>
date Wed, 25 Mar 2009 11:18:25 +0100
parents 6dd524f61e62
children 0ecb2b338560
line wrap: on
line diff
--- a/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/ole/win32/OleClientSite.d	Wed Mar 25 08:46:48 2009 +0100
+++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/ole/win32/OleClientSite.d	Wed Mar 25 11:18:25 2009 +0100
@@ -357,7 +357,7 @@
                 // its primary stream
                 wchar* streamName = StrToWCHARz("CONTENTS"); //$NON-NLS-1$
                 GUID* wordGUID = getClassID(WORDPROGID);
-                if (wordGUID !is null && COM.IsEqualGUID(appClsid, wordGUID)) streamName = "WordDocument"; //$NON-NLS-1$
+                if (wordGUID !is null && COM.IsEqualGUID(appClsid, wordGUID)) streamName = StrToWCHARz("WordDocument"); //$NON-NLS-1$
                 IStream stream;
                 result = storage.CreateStream(streamName, mode, 0, 0, &stream); // Increments ref count if successful
                 if (result !is COM.S_OK) {