wxString doc, doc2;
if (s == NULL) return wxEmptyString;
- src = new char[s -> GetSize()+1];
- src[s -> GetSize()] = 0;
- s -> Read(src, s -> GetSize());
+ src = new char[s->GetSize()+1];
+ src[s->GetSize()] = 0;
+ s->Read(src, s->GetSize());
doc = src;
delete [] src;
wxLogError(_("Cannot open HTML document: %s"), file.GetLocation().c_str());
return wxEmptyString;
}
- src = new char[s -> GetSize() + 1];
- src[s -> GetSize()] = 0;
- s -> Read(src, s -> GetSize());
+ src = new char[s->GetSize() + 1];
+ src[s->GetSize()] = 0;
+ s->Read(src, s->GetSize());
doc = src;
delete[] src;
return s;
}
- else return doc;
+ return doc;
}