In LibreOffice 4.0.2.2, LibreOffice Macros & Dialogs/Tools/Strings/Elimchar function, 'BigString =' line is missing closing parens. Copy of Function: ' Deletes out of a String 'BigString' all possible PartStrings, that are summed up ' in the Array 'ElimArray' Function ElimChar(ByVal BigString as String, ElimArray() as String) Dim i% ,n% For i = 0 to Ubound(ElimArray) ----> BigString = DeleteStr(BigString,ElimArray(i) Next ElimChar = BigString End Function
Nice catch and thanks for reporting! I'll take this easy one, and send a patch. How did you saw that/was there some strange behavior (in that case there may be some bugs around, related to this not-closed parenthesis which we can mark as fixed now). Kind regards, Joren
Joren De Cuyper committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=fb889fa870badb051a48d648f722b7895c6f8896 Solve fdo#64406 Missing right closing parenthesis The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Joren De Cuyper committed a patch related to this issue. It has been pushed to "libreoffice-4-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=92fb9d8cbbf95f10aca244c408592c31e4127f6d&h=libreoffice-4-0 Solve fdo#64406 Missing right closing parenthesis It will be available in LibreOffice 4.0.4. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
(In reply to comment #1) > Nice catch and thanks for reporting! > I'll take this easy one, and send a patch. > > How did you saw that/was there some strange behavior (in that case there may > be some bugs around, related to this not-closed parenthesis which we can > mark as fixed now). > > Kind regards, > Joren I'm new to programming, except for some Fortran, Basic and DataEase many years ago. While learning LibreOffice Basic, I was scrolling through the included functions and subroutines, and noticed the lacking parens. Note: Because the functions and subroutines are included, detailed descriptions should be included with each, including describing the UNO objects called. The comments currently attached are very sparse. It would be even better if descriptions were included in Help, or documented in depth elsewhere, to make it easy for users to call the code, or learn it like me. Examples of code are as important as the details on how to use each command. And thanks for being so prompt. I'm quite surprised by the amount of effort put into a free product. I hope to be able to help soon - probably documenting macros, eh? Ed
(In reply to comment #4) > I'm new to programming, except for some Fortran, Basic and DataEase many > years ago. While learning LibreOffice Basic, I was scrolling through the > included functions and subroutines, and noticed the lacking parens. Ooh, I see. Although 'just scrolling through code' it's still nice you saw that missing :-). > Note: Because the functions and subroutines are included, detailed > descriptions should be included with each, including describing the UNO > objects called. The comments currently attached are very sparse. It would > be even better if descriptions were included in Help, or documented in depth > elsewhere, to make it easy for users to call the code, or learn it like me. > Examples of code are as important as the details on how to use each command. I'm just a core QA (quality assurance) team member, not a developer :-) (at all :p). So feel free to help us document it! > And thanks for being so prompt. I'm quite surprised by the amount of effort > put into a free product. I hope to be able to help soon - probably > documenting macros, eh? Sure, that'll be nice. Very welcome! I think emailing the documentation or development list will be the right place to get directions "how to document it etc". (http://www.libreoffice.org/get-help/mailing-lists/) Kind regards, Joren