string
nsIconConnection::getURIString(const nsIURI * URI)
{
STACK_DEBUG("getURIString");
nsXPIDLCString prePath;
URI->GetPrePath(prePath);
nsXPIDLCString path;
URI->GetPath(path);
string URL(prePath);
URL += path;
return URL;
}
errors:
nsIconConnection.cpp: In member function `std::string
nsIconConnection::getURIString(const nsIURI*)':
nsIconConnection.cpp:240: error: no matching function for call to
`nsIURI::GetPrePath(nsXPIDLCString&) const'
../../../dist/include/necko/nsIURI.h:97: note: candidates are: virtual
nsresult nsIURI::GetPrePath(nsACString_internal&) <near match>
nsIconConnection.cpp:244: error: no matching function for call to
`nsIURI::GetPath(nsXPIDLCString&) const'
../../../dist/include/necko/nsIURI.h:165: note: candidates are: virtual
nsresult nsIURI::GetPath(nsACString_internal&) <near match>
nsIconConnection.cpp: In member function `virtual nsresult
nsIconConnection::KeyPress(nsIDOMEvent*)':
I have tried switching to auto strings abut that didn't fix it and I just
don't know where to go now.
Thanks,
Ken