Bug 348651 Calendar export/publish fails due to idl change, r1=lilmatt, r2=dmose

git-svn-id: svn://10.0.0.236/trunk@207526 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jminta%gmail.com 2006-08-16 01:09:12 +00:00
parent 3edbfeac15
commit 214b264e61
2 changed files with 2 additions and 2 deletions

View File

@ -284,7 +284,7 @@ function saveEventsToFile(calendarEventArray, aDefaultFileName)
outputStream.init(localFileInstance, MODE_WRONLY | MODE_CREATE | MODE_TRUNCATE, 0664, 0);
// XXX Do the right thing with unicode and stuff. Or, again, should the
// exporter handle that?
exporter.exportToStream(outputStream, calendarEventArray.length, calendarEventArray);
exporter.exportToStream(outputStream, calendarEventArray.length, calendarEventArray, null);
outputStream.close();
}
catch(ex)

View File

@ -194,7 +194,7 @@ function publishItemArray(aItemArray, aPath, aProgressDialog) {
var exporter = Components.classes["@mozilla.org/calendar/export;1?type=ics"]
.getService(Components.interfaces.calIExporter);
exporter.exportToStream(outputStream,
aItemArray.length, aItemArray);
aItemArray.length, aItemArray, null);
outputStream.close();
inputStream = storageStream.newInputStream(0);