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.
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.