Ok, undo other attempt, apparently all it took was to move this after the function it references.

This commit is contained in:
jag%tty.nl 2006-05-15 13:58:23 +00:00
parent 411bcac977
commit d6ac48d2b7

View File

@ -170,9 +170,7 @@ public:
*/
nsIDocument *GetDocument() const
{
// return GetCurrentDoc();
// attempt to fix 2.95.2 bustage by inlining GetCurrentDoc()'s body
return IsInDoc() ? GetOwnerDoc() : nsnull;
return GetCurrentDoc();
}
/**