You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/02/14 15:36:30 UTC
DO NOT REPLY [Bug 118909] New: ElementNames of
css.ui.UICategoryDescription service has some empty strings
https://issues.apache.org/ooo/show_bug.cgi?id=118909
Bug #: 118909
Issue Type: DEFECT
Summary: ElementNames of css.ui.UICategoryDescription service
has some empty strings
Classification: Code
Product: framework
Version: OOo 3.4 Beta
Platform: PC
OS/Version: All
Status: CONFIRMED
Severity: minor
Priority: P3
Component: code
AssignedTo: tm@openoffice.org
ReportedBy: hanya.runo@gmail.com
CC: ooo-issues@incubator.apache.org
getElementNames method of css.ui.UICategoryDescription returns list of module
names but it returns some empty strings in it.
Sub UICategoryDescription
cd = CreateUnoService("com.sun.star.ui.UICategoryDescription")
names = cd.getElementNames()
txt = ""
for i = 0 to ubound(names) step 1
txt = txt & "'" & names(i) & "'" & chr(10)
next
msgbox txt
End Sub
com.sun.star.frame.UICommandDescription has the same problem.
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
[Bug 118909] ElementNames of css.ui.UICategoryDescription service
has some empty strings
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118909
--- Comment #3 from SVN Robot <sv...@dev.null.org> ---
"hanya" committed SVN revision 1556463 into trunk:
#i118909# fix empty elements of return value in
UICategoryDescription::getEle...
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
[Bug 118909] ElementNames of css.ui.UICategoryDescription service
has some empty strings
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118909
--- Comment #2 from Rob Weir <ro...@apache.org> ---
I'm adding this comment to all open issues with Issue Type == PATCH. We have
220 such issues, many of them quite old. I apologize for that.
We need your help in prioritizing which patches should be integrated into our
next release, Apache OpenOffice 4.0.
If you have submitted a patch and think it is applicable for AOO 4.0, please
respond with a comment to let us know.
On the other hand, if the patch is no longer relevant, please let us know that
as well.
If you have any general questions or want to discuss this further, please send
a note to our dev mailing list: dev@openoffice.apache.org
Thanks!
-Rob
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
[Bug 118909] ElementNames of css.ui.UICategoryDescription service
has some empty strings
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118909
hanya <ha...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #79708| |review?(hanya.runo@gmail.co
Flags| |m)
--- Comment #1 from hanya <ha...@gmail.com> ---
Created attachment 79708
--> https://issues.apache.org/ooo/attachment.cgi?id=79708&action=edit
Patch to fix this problem, increment n in the while loop
This problem is happen because n is not incremented in the while loop to fill
sequence with elements.
The above basic code can be used to verify this patch.
--
You are receiving this mail because:
You are on the CC list for the bug.
[Bug 118909] ElementNames of css.ui.UICategoryDescription service
has some empty strings
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118909
hanya <ha...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CONFIRMED |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |4.1.0
--- Comment #4 from hanya <ha...@gmail.com> ---
Fixed in trunk. The fix can be confirmed with the small macro written in the
report description.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
[Bug 118909] ElementNames of css.ui.UICategoryDescription service
has some empty strings
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118909
hanya <ha...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Issue Type|DEFECT |PATCH
--
You are receiving this mail because:
You are on the CC list for the bug.