diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2014-04-12 12:33:32 +0200 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2014-04-12 12:58:50 +0200 |
commit | fa4c74f4d5cb7ff8ae8d4fa43f07c557bcbcf9e0 (patch) | |
tree | d55572e04fa29c593c2efeb97c90be9ec14efff0 /desktop | |
parent | 5830799d5ba3afbb696dc354535fcfd2f10ba059 (diff) |
liblo: fix check of xcomponent
Change-Id: I8a05a067681767518c688eb836bbe676bed05996
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/lib/init.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 183a555eae7a..a965be77500e 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -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"; |