summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-12-10 10:36:55 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-12-10 11:42:31 +0100
commitdc18a47e9c1a24891e607e3c5d2f779d333e0421 (patch)
treea96307c33babf2123f8469cddbb3842b20fd3d31 /desktop
parent216fbe7e074923f108201a9dc6bbb3789d720574 (diff)
LOK: if loadComponentFromURL() returns an empty reference, say it
Change-Id: I47adee37ce1c4235f8c44650289c09a073da45b4
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/lib/init.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index c12bf4690501..659be67ae379 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);