Kaydet (Commit) dc18a47e authored tarafından Miklos Vajna's avatar Miklos Vajna

LOK: if loadComponentFromURL() returns an empty reference, say it

Change-Id: I47adee37ce1c4235f8c44650289c09a073da45b4
üst 216fbe7e
......@@ -320,8 +320,8 @@ static LibreOfficeKitDocument* lo_documentLoad(LibreOfficeKit* pThis, const char
if (!xComponent.is())
{
pLib->maLastExceptionMsg = "unknown load failure";
SAL_INFO("lok", "Document can't be loaded - unknown load failure");
pLib->maLastExceptionMsg = "loadComponentFromURL returned an empty reference";
SAL_INFO("lok", "Document can't be loaded - " << pLib->maLastExceptionMsg);
}
return new LibLODocument_Impl(xComponent);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment