Type: recommended
         Title: new: comphelper::getProcessComponentContext()
     Posted by: m...@openoffice.org
      Affected: comphelper
         TaskId: i90620
<http://www.openoffice.org/issues/show_bug.cgi?id=90620>
Effective from: CWS odfmetadata2
           CWS:
<http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300/odfmetadata2>
    CWS status: ready for QA


*Summary*
--------
<comphelper/processfactory.hxx>:
+ comphelper::getProcessComponentContext()


*Description*
-------------
/**
 * This function gets the process service factory's default component
context.
 * If no service factory is set the function returns a null interface.
 */
COMPHELPER_DLLPUBLIC
::com::sun::star::uno::Reference<
::com::sun::star::uno::XComponentContext >
getProcessComponentContext();


(note: previously, the function comphelper_getProcessComponentContext
 was (ab)used to get the context; that function returns a pointer,
 not a uno reference, and all callers forgot to call release() on the
 returned pointer)



Send feedback to interface-announce@openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: interface-announce-unsubscr...@openoffice.org
For additional commands, e-mail: interface-announce-h...@openoffice.org

Reply via email to