On 08/14/2012 12:35 AM, anwen wrote:
I implemented the above code with c++ . However, it did not work.
Anything
wrong with the following code:
m_xCC is a given Reference<XComponentContext>
Reference<XEventBroadcaster>
xBrd(m_xCC->getServiceManager()->createInstanceWithContext(OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.frame.GlobalEventbroadcaster")),
it's "GlobalEventBroadcaster" (with a capital "B")
Stephan
m_xCC), UNO_QUERY); //xBrd is still empty, not sure why?
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.