Apache OpenOffice (AOO) Bugzilla – Issue 92672
ArrayoutofString changed - code does not work
Last modified: 2013-02-24 21:09:59 UTC
Using the "Tools" library you have changed the Code of the macro "ArrayoutofString". Unfortuantly a lot of other small and usefull maros used this part of code - and now do not work any longer. Example: FileNameoutofPath It now returns the first element of the array not the last one! Code should now be changed to: Function FileNameoutofPath(ByVal Path as String, Optional Separator as String) as String Dim SepList() as String If IsMissing(Separator) Then Path = ConvertFromUrl(Path) Separator = GetPathSeparator() End If SepList() = ArrayoutofString(Path, Separator) FileNameoutofPath = SepList(ubound(SepList())) End Function So it work like before. Because this Funtion would be used in maros like "DirectoryOutofPath" a lot of code designed in former versions did not work any longer. Please check and repair the code in tools.
thas was a regression by applying a wrong patch. It is already fixed in dev300m24 *** This issue has been marked as a duplicate of 90796 ***
closed