https://bugs.documentfoundation.org/show_bug.cgi?id=57979

--- Comment #13 from Julien Nabet <[email protected]> ---
find . -name services.cxx gives:
./reportdesign/source/core/api/services.cxx
./framework/qa/cppunit/services.cxx
./postprocess/qa/services.cxx

so nowhere to be seen in dbaccess.

git grep -n createOneInstanceComponentFactory gives:
cppuhelper/source/factory.cxx:954:Reference< lang::XSingleComponentFactory >
SAL_CALL createOneInstanceComponentFactory(
cppuhelper/source/gcc3.map:401:       
_ZN4cppu33createOneInstanceComponentFactoryEPFN3com3sun4star3uno9ReferenceINS3_10XInterfaceEEERKNS4_INS3_17XComponentContextEEEERKN3rtl8OUStringERKNS3_8SequenceISE_EEP16_rtl_ModuleCount;
include/cppuhelper/factory.hxx:163:createOneInstanceComponentFactory(

I thought first it could be removed but it seems to be a public API.
/** Creates a single service factory which holds the instance created only
once.

    @param fptr function pointer for instantiating the object
    @param rImplementationName implementation name of service
    @param rServiceNames supported services
    @param pModCount a backwards-compatibility remainder of a removed library
           unloading feature; always set to null

    @see createSingleComponentFactory
*/
CPPUHELPER_DLLPUBLIC css::uno::Reference< css::lang::XSingleComponentFactory >
SAL_CALL
createOneInstanceComponentFactory(
    ComponentFactoryFunc fptr,
    ::rtl::OUString const & rImplementationName,
    css::uno::Sequence< ::rtl::OUString > const & rServiceNames,
    rtl_ModuleCount * pModCount = NULL );

See
https://opengrok.libreoffice.org/xref/core/cppuhelper/source/factory.cxx?r=2484de67&mo=30255&fi=954#954

I think tackling this one may help for some Base bugs.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to