Fixed compiler problem on AIX with references.

This commit is contained in:
jdunn%netscape.com 1999-03-31 04:19:02 +00:00
Родитель 9414ffd7aa
Коммит e68fdd2cbe
2 изменённых файлов: 14 добавлений и 14 удалений

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

@ -593,7 +593,7 @@ int FilesTest::SpecialSystemDirectories()
mConsole << "OS_DriveDirectory yields \t";
if (systemDir.Valid())
{
(nsOutputStream)mConsole << systemDir << nsEndl;
(nsOutputStream&)mConsole << systemDir << nsEndl;
}
else
{
@ -605,7 +605,7 @@ int FilesTest::SpecialSystemDirectories()
mConsole << "OS_TemporaryDirectory yields \t";
if (systemDir.Valid())
{
(nsOutputStream)mConsole << systemDir << nsEndl;
(nsOutputStream&)mConsole << systemDir << nsEndl;
}
else
{
@ -617,7 +617,7 @@ int FilesTest::SpecialSystemDirectories()
mConsole << "OS_CurrentProcessDirectory yields \t";
if (systemDir.Valid())
{
(nsOutputStream)mConsole << systemDir << nsEndl;
(nsOutputStream&)mConsole << systemDir << nsEndl;
}
else
{
@ -765,7 +765,7 @@ int FilesTest::SpecialSystemDirectories()
mConsole << "Win_SystemDirectory yields \t";
if (systemDir.Valid())
{
(nsOutputStream)mConsole << systemDir << nsEndl;
(nsOutputStream&)mConsole << systemDir << nsEndl;
}
else
{
@ -777,7 +777,7 @@ int FilesTest::SpecialSystemDirectories()
mConsole << "Win_WindowsDirectory yields \t";
if (systemDir.Valid())
{
(nsOutputStream)mConsole << systemDir << nsEndl;
(nsOutputStream&)mConsole << systemDir << nsEndl;
}
else
{
@ -790,7 +790,7 @@ int FilesTest::SpecialSystemDirectories()
mConsole << "Unix_LocalDirectory yields \t";
if (systemDir.Valid())
{
(nsOutputStream)mConsole << systemDir << nsEndl;
(nsOutputStream&)mConsole << systemDir << nsEndl;
}
else
{
@ -803,7 +803,7 @@ int FilesTest::SpecialSystemDirectories()
if (systemDir.Valid())
{
(nsOutputStream)mConsole << systemDir << nsEndl;
(nsOutputStream&)mConsole << systemDir << nsEndl;
}
else
{

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

@ -593,7 +593,7 @@ int FilesTest::SpecialSystemDirectories()
mConsole << "OS_DriveDirectory yields \t";
if (systemDir.Valid())
{
(nsOutputStream)mConsole << systemDir << nsEndl;
(nsOutputStream&)mConsole << systemDir << nsEndl;
}
else
{
@ -605,7 +605,7 @@ int FilesTest::SpecialSystemDirectories()
mConsole << "OS_TemporaryDirectory yields \t";
if (systemDir.Valid())
{
(nsOutputStream)mConsole << systemDir << nsEndl;
(nsOutputStream&)mConsole << systemDir << nsEndl;
}
else
{
@ -617,7 +617,7 @@ int FilesTest::SpecialSystemDirectories()
mConsole << "OS_CurrentProcessDirectory yields \t";
if (systemDir.Valid())
{
(nsOutputStream)mConsole << systemDir << nsEndl;
(nsOutputStream&)mConsole << systemDir << nsEndl;
}
else
{
@ -765,7 +765,7 @@ int FilesTest::SpecialSystemDirectories()
mConsole << "Win_SystemDirectory yields \t";
if (systemDir.Valid())
{
(nsOutputStream)mConsole << systemDir << nsEndl;
(nsOutputStream&)mConsole << systemDir << nsEndl;
}
else
{
@ -777,7 +777,7 @@ int FilesTest::SpecialSystemDirectories()
mConsole << "Win_WindowsDirectory yields \t";
if (systemDir.Valid())
{
(nsOutputStream)mConsole << systemDir << nsEndl;
(nsOutputStream&)mConsole << systemDir << nsEndl;
}
else
{
@ -790,7 +790,7 @@ int FilesTest::SpecialSystemDirectories()
mConsole << "Unix_LocalDirectory yields \t";
if (systemDir.Valid())
{
(nsOutputStream)mConsole << systemDir << nsEndl;
(nsOutputStream&)mConsole << systemDir << nsEndl;
}
else
{
@ -803,7 +803,7 @@ int FilesTest::SpecialSystemDirectories()
if (systemDir.Valid())
{
(nsOutputStream)mConsole << systemDir << nsEndl;
(nsOutputStream&)mConsole << systemDir << nsEndl;
}
else
{