https://bugs.documentfoundation.org/show_bug.cgi?id=129437

Julien Nabet <serval2...@yahoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sberg...@redhat.com,
                   |                            |serval2...@yahoo.fr

--- Comment #1 from Julien Nabet <serval2...@yahoo.fr> ---
There's PushButtonType.idl with "PushButtonType" enum
+ UnoControlButtonModel.idl with "PushButtonType" property

PushButtonType is defined as a short property but wonder if it shouldn't be
"PushButtonType". 2 problems here:
- in this case var type and var name would be the same
- we would change an interface

I tried to find similar examples and noticed:
wizards/com/sun/star/wizards/letter/LetterDocument.py:84:                      
 xPageNumberField.setPropertyValue("SubType", CURRENT)

PageNumber.idl indicates:
[property] PageNumberType SubType;

and indeed, the line after in LetterDocument.py, shows:
xPageNumberField.NumberingType = ARABIC

since we got the declaration:
[property] short NumberingType;

Stephan: as Uno expert, thought you might have some ideas here?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to