liblo: fix check of xcomponent
Change-Id: I8a05a067681767518c688eb836bbe676bed05996
This commit is contained in:
@@ -195,7 +195,7 @@ static LibreOfficeDocument* lo_documentLoad(LibreOffice* pThis, const char* pURL
|
||||
aURL, OUString("_blank"), 0,
|
||||
uno::Sequence<css::beans::PropertyValue>());
|
||||
|
||||
if (xComponentLoader.is())
|
||||
if (xComponent.is())
|
||||
return new LibLODocument_Impl(xComponent);
|
||||
else
|
||||
pLib->maLastExceptionMsg = "unknown load failure";
|
||||
|
Reference in New Issue
Block a user