fixing code that relied on implicit string construction

This commit is contained in:
scc@mozilla.org
2000-08-20 07:18:09 +00:00
parent bfae9278e1
commit cbe3570c6e

View File

@@ -1044,7 +1044,7 @@ nsLocalFile::GetParent(nsIFile **aParent)
CHECK_mPath();
nsCString parentPath = NS_STATIC_CAST(const char*, mPath);
nsCString parentPath(NS_STATIC_CAST(const char*, mPath));
// check to see whether or not we need to cut off any trailing
// slashes