desktop/source/lib/init.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit dc18a47e9c1a24891e607e3c5d2f779d333e0421
Author: Miklos Vajna <vmik...@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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to