Avoid a crash bug

git-svn-id: svn://10.0.0.236/trunk@8708 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com
1998-08-28 16:19:38 +00:00
parent 69abb91cd8
commit 52524023bc

View File

@@ -53,7 +53,9 @@ public:
nsresult SetBaseHREF(const nsString& aBaseHREF);
void GetURL(nsString& aResult) {
aResult = *mURLSpec;
if (nsnull != mURLSpec) {
aResult = *mURLSpec;
}
}
void GetBaseHREF(nsString& aResult) {