Inserting a value into a XComponentContext

Chris Sherlock chris.sherlock79 at gmail.com
Sun Nov 30 04:31:41 PST 2014


Hi all,

How do you insert a value to be retrieved later into an XComponentContext
reference?

I see there is a XNameContainer, which is created by
comphelper::NameContainer_createInstance(::cppu::UnoType<sal_Int32>::get())
or whatever value you want. From here you then do insertByName.

However, how do you then insert this into the component context?

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20141130/ae5be987/attachment.html>


More information about the LibreOffice mailing list