fdo#46808 - [Easy Hack] Adapt UNO services to new-style
noelgrandin at gmail.com
Fri Mar 23 01:09:23 PDT 2012
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
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?
More information about the LibreOffice