On 03/22/2012 03:13 PM, Noel Grandin wrote:
In order to limit the knock-on effect from my change (I'm already up to
about 12 files, and it just keeps spreading), I need to be able to
convert an XComponentContext back into a XMultiServiceFactory.

How do I do that?

uno::Reference<lang::XMultiServiceFactory>(context->getServiceManager(), uno::UNO_QUERY_THROW)

should give you one.

Stephan
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to