[Libreoffice-bugs] [Bug 144464] New: same argument name used twice in SID_ATTR_CHAR_COLOR

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Sep 13 09:18:28 UTC 2021


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

            Bug ID: 144464
           Summary: same argument name used twice in SID_ATTR_CHAR_COLOR
           Product: LibreOffice
           Version: 7.3.0.0 alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: framework
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: caolanm at redhat.com

Description:
In a dbgutil build selecting a color from the font color dropdown in writer
outputs...

warn:legacy.osl:4094209:4094209:svl/source/items/custritm.cxx:70:
CntUnencodedStringItem::PutValue(): Wrong type
warn:sfx:4094209:4094209:sfx2/source/appl/appuno.cxx:310: Property not
convertible: Color

to stderr

Steps to Reproduce:
1. in writer use font color dropdown
2. get above error message
3. the highlight color dropdown doesn't give the same type of error

Actual Results:
warning

Expected Results:
no warning


Reproducible: Always


User Profile Reset: No



Additional Info:
I think a problem here is that there are duplicate names for arguments listed
in svx/sdi/svx.sdi

SvxColorItem Color SID_ATTR_CHAR_COLOR
(SfxStringItem Color SID_ATTR_COLOR_STR, SvxColorItem Color
SID_ATTR_CHAR_COLOR)

I think here that the two arguments are both named "Color" and "Color"

Maybe since:

commit 780d83771af89e6b27b3618d9c033c3fb29ba803
Date:   Mon Nov 4 17:17:58 2019 +0100

    jsdialogs: .uno:Color with string argument

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210913/47425306/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list