[Libreoffice-commits] core.git: desktop/source
Miklos Vajna
vmiklos at collabora.co.uk
Wed Dec 10 02:42:58 PST 2014
desktop/source/lib/init.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit dc18a47e9c1a24891e607e3c5d2f779d333e0421
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Wed Dec 10 10:36:55 2014 +0100
LOK: if loadComponentFromURL() returns an empty reference, say it
Change-Id: I47adee37ce1c4235f8c44650289c09a073da45b4
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index c12bf46..659be67 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -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);
More information about the Libreoffice-commits
mailing list