diff examples/dialogs/classwizard/classwizard.d @ 180:39921f499a22

Fix #26
author SokoL_SD
date Thu, 02 Jul 2009 12:04:40 +0000
parents 7648ee2e023b
children 7ea67ec3cf29
line wrap: on
line diff
--- a/examples/dialogs/classwizard/classwizard.d	Thu Jul 02 11:39:57 2009 +0000
+++ b/examples/dialogs/classwizard/classwizard.d	Thu Jul 02 12:04:40 2009 +0000
@@ -148,7 +148,7 @@
 					headerFile.errorString()));
 			return;
 		}
-		headerFile.write(block.ptr, block.length);
+		headerFile.write(block);
 
 		block.length = 0;
 
@@ -202,7 +202,7 @@
 					implementationFile.errorString()));
 			return;
 		}
-		implementationFile.write(block.ptr, block.length);
+		implementationFile.write(block);
 
 		QDialog.accept();
 	}