removed direct access to nsString members

This commit is contained in:
rickg%netscape.com 2000-03-27 06:28:47 +00:00
parent 43a65f0fca
commit bb002efdaa

View File

@ -481,7 +481,7 @@ void nsXPInstallManager::LoadDialogWithNames(nsIDialogParamBlock* ioParamBlock)
offset = URL.RFind("/");
if (offset != -1)
{
URL.Cut(offset + 1, URL.mLength - 1);
URL.Cut(offset + 1, URL.Length() - 1);
ioParamBlock->SetString(paramIndex, URL.ToNewUnicode());
}
paramIndex++;
@ -498,7 +498,7 @@ void nsXPInstallManager::LoadDialogWithNames(nsIDialogParamBlock* ioParamBlock)
moduleName.Cut(0, offset + 1);
ioParamBlock->SetString(paramIndex, moduleName.ToNewUnicode());
paramIndex++;
URL.Cut(offset + 1, URL.mLength - 1);
URL.Cut(offset + 1, URL.Length() - 1);
ioParamBlock->SetString(paramIndex, URL.ToNewUnicode());
}
paramIndex++;