Rename the callers to make them match the interface spec.

Should have been part of bug 298772
This commit is contained in:
mvl%exedo.nl 2005-07-24 12:36:09 +00:00
Родитель 0293051b7f
Коммит 28e26c3c69
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -100,7 +100,7 @@ function loadEventsFromFile()
var items;
try
{
inputStream.init( fp.file, MODE_RDONLY, 0444, {} );
inputFromStream.init( fp.file, MODE_RDONLY, 0444, {} );
var scriptableInputStream =
Components.classes["@mozilla.org/scriptableinputstream;1"]
@ -223,7 +223,7 @@ function saveEventsToFile(calendarEventArray)
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.exportStream(outputStream, calendarEventArray.length, calendarEventArray);
exporter.exportToStream(outputStream, calendarEventArray.length, calendarEventArray);
outputStream.close();
}
catch(ex)