Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index




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?

Context


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.