diff options
Diffstat (limited to 'udkapi/com/sun/star/lang/XInitialization.idl')
-rw-r--r-- | udkapi/com/sun/star/lang/XInitialization.idl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/udkapi/com/sun/star/lang/XInitialization.idl b/udkapi/com/sun/star/lang/XInitialization.idl index f2f19e3cf9ef..553f5169021e 100644 --- a/udkapi/com/sun/star/lang/XInitialization.idl +++ b/udkapi/com/sun/star/lang/XInitialization.idl @@ -34,9 +34,9 @@ module com { module sun { module star { module lang { support this interface and you may support other interfaces which offer type-safe initialization methods. </p> - <p>Instead of calling <member>XSingleComponentFactory::createInstanceWithContext</member> + <p>Instead of calling XSingleComponentFactory::createInstanceWithContext() and later initialize(), you should call - <member>XSingleComponentFactory::createInstanceWithArgumentsAndContext</member> + XSingleComponentFactory::createInstanceWithArgumentsAndContext() to pass the arguments to the instance. The reason is, that a component may want to return the same instance for the same set of parameters, and it can do so by implementing the factory itself. |