https://bugs.freedesktop.org/show_bug.cgi?id=84061

          Priority: medium
            Bug ID: 84061
          Assignee: [email protected]
           Summary: Listeners are not set correctly in
                    SdrTextObj::ImpSetTextStyleSheetListeners
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.4.0.0.alpha0+ Master
         Component: Libreoffice
           Product: LibreOffice

The code in SdrTextObj::ImpSetTextStyleSheetListeners is obviously not working
correctly.

The families of the stylesheets are appended to the name of the family for
further usage.
An encoded string looks like "STYLE_NAME|3     "
The family is then extracted by copying the first (length-6) bytes, e.g.,
"STYLE_NAME" in this example. Then another copy starting a position 1 is
created, e.g., "TYLE_NAME". This string is cast to an Int32. Since this is not
possible, 0 is returned, and the originally stored family is lost.

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

Reply via email to