Closed zspitz closed 7 years ago
e.g.:
createInstance(aServiceSpecifier: 'com.sun.star.animations.Audio'): com.sun.star.animations.Audio;
Some of these need to be called with arguments (using com.sun.star.lang.XMultiServiceFactory::createInstanceWithArguments (it may be that calling something without arguments when arguments are required, is still valid)
com.sun.star.lang.XMultiServiceFactory::createInstanceWithArguments
https://ask.libreoffice.org/en/question/127593/createinstance-vs-createinstancewitharguments/
Fixed. Overloads are added to both createInstance and createInstanceWithArguments, via mapped types.
createInstance
createInstanceWithArguments
e.g.:
Some of these need to be called with arguments (using
com.sun.star.lang.XMultiServiceFactory::createInstanceWithArguments
(it may be that calling something without arguments when arguments are required, is still valid)