recommended/CWS odfmetadata2 : new: comphelper::getProcessComponentContext()

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

recommended/CWS odfmetadata2 : new: comphelper::getProcessComponentContext()

mst-2


          Type: recommended
         Title: new: comphelper::getProcessComponentContext()
     Posted by: [hidden email]
      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 [hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]