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


On 04/02/2012 04:15 PM, Michael Stahl wrote:
i wonder, this XInitialization always seemed to be like some backward
compatibility kludge, would it be possible to get rid of this for LO4
and pass the arguments to the C++ ctor of the implementing class
directly or at least a static factory method or something like that, or
is there some reason why that wouldn't work?

Simplifying the way UNO service instances are created (there should be better ways than the current nested multi/single service factories, IMO), there should be no reason that XInitialization is still needed for it. (Virtual methods is a red herring here, btw.) Also, that would finally make it possible to have different constructors for a UNO service with similar parameter lists.

Stephan

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.