On 23/03/12 10:04, Stephan Bergmann wrote: > On 03/23/2012 09:16 AM, Tor Lillqvist wrote: >> What is a "component context" btw? Are there many kinds of such, or >> many instances of the same kind in a typical running LO? In what kind >> of environments/platforms/circumstances would the various kinds exist? > > There's typically just one. (That's why the > comphelper::getProcessComponentContext hack actually works nicely in the > first place.)
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. _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice