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

            Bug ID: 100659
           Summary: Numeric literals instead of enumerated values are used
                    for AutoLayout
           Product: LibreOffice
           Version: 5.1.2.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: [email protected]
          Reporter: [email protected]

AutoLayout enum is defined in sd/inc/pres.hxx

While Numeric literals instead of enumerated values were used in a few places

like:

http://opengrok.libreoffice.org/xref/core/xmloff/source/draw/ximpstyl.cxx#691
mnTypeId = 33; // AUTOLAYOUT_6CLIPART
whereas inc/pres.hxx indicates
     99     AUTOLAYOUT_4CLIPART = 33,
    100     AUTOLAYOUT_6CLIPART = 34,


and here:

http://opengrok.libreoffice.org/xref/core/sd/source/filter/eppt/pptx-epptooxml.cxx#144

http://opengrok.libreoffice.org/xref/core/sd/source/filter/eppt/pptx-epptooxml.cxx#159

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

Reply via email to