To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=92528
                 Issue #|92528
                 Summary|Localization of Addin function ERFC is broken
               Component|scripting
                 Version|DEV300m24
                Platform|PC
                     URL|
              OS/Version|Windows XP
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|kr
             Reported by|regina





------- Additional comments from [EMAIL PROTECTED] Wed Aug  6 16:43:19 +0000 
2008 -------
Try to access the ERFC-function with a macro, for example

function MYERFC (byval z) as double
DIM oFunktion as variant
oFunktion = createUnoService("com.sun.star.sheet.FunctionAccess")
Dim aArgumente(0) As Variant
dim erfcresult as double
aArgumente(0)=z
erfcresult = oFunktion.callFunction( "ERFC", aArgumente() )
MYERFC=erfcresult
end function

This works fine in an English UI. Now open the same document in a German UI. You
will get an error "comm.sun.star.container.NoSuchElementException".

For the normal functions is works as expected, that the function in the
statement is always English. For the Addin function 'Erfc' the statement needs
the localized name.

I consider this a bug, because the behavior is different and it makes it
impossible to distribute such macros.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to