http://openoffice.org/bugzilla/show_bug.cgi?id=117551

        Issue Type: DEFECT
           Summary: basic: new style default service constructors should
                    use createInstanceWithContext
    Classification: Code
           Product: framework
           Version: version58
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: code
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


The support of new style service constructors in Basic should differentiate
between default constructors and constructors with no arguments.

In case of a default constructor the support XInitialization is not not
required at the component impl. Whereas for explicit constructors without
parameters the implementation of XInitialization is required. Basic should
check if it is the default constructor and should call
'createInstanceWithContext' instead of 'createInstanceWithArgumentsAndcontext'.

The different factory helpers in C++ and Java handle it currently differently
which is not optimal as well. We should unify the implementations here as well
but Basic should take care of this anyway.

-- 
Configure bugmail: http://openoffice.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification
from Bugzilla. Please log into the website and enter your comments.
---------------------------------------------------------------------
--
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help
--
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help

Reply via email to