On 2012-03-22 15:19, Stephan Bergmann wrote:
For code not below comphelper that only has a global XMultiServiceFactory at hand, but rather needs an XComponentContext (e.g., to pass it into a new-style service constructor), comphelper::getComponentContext (comphelper/processfactory.hxx) can be used to convert the former into the latter. (But the best fix, of course, is to change all places that currently have a reference to the global XMultiServiceFactory, to instead have a reference to the global XComponentContext.)
I'm needing to modify some code in the UCB module, but I get linking errors because I'm referencing comphelper. Do I need to modify the makefile or is this one of those modules that are below comphelper?
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice