forked from amazingfate/loongoffice
...likely gone unnoticed until now as that nested if is not normally taken, the createInstanceWithContext call at the top shall normally succeed. Change-Id: Iabc917473cf6902cb2afc21b735411d8136278fb
Old way of doing component registration. Nowadays replaced by another stand-alone UI and tools called UNO package.