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?

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

Reply via email to