fdo#46808 - [Easy Hack] Adapt UNO services to new-style

Stephan Bergmann sbergman at redhat.com
Fri Mar 23 05:06:05 PDT 2012


On 03/23/2012 11:56 AM, Michael Stahl wrote:
> though it would be nice if there were more:  if the various service
> factory implementations in the applications supplied a specialized
> component context then it would be possible to create the document
> specific services via the much nicer new-style service create syntax,
> (by passing in the document specifc component context), instead of the
> cumbersome way with string literal and queryInterface.

But you would need to mark those services that are only available in 
application-specific contexts, to avoid confusion (though that is of 
course true for the current situation already, anyway).  I would rather 
like to see those application-specific contexts go away...

Stephan


More information about the LibreOffice mailing list