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

            Bug ID: 137525
           Summary: Update ColumnValueSet drawing to use the Push/Pop API
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: trivial
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

While fixing bug 136924, I found the code manually restores the line and fill
colors it changed in the ColumnValueSet::UserDraw function. There is a more
"modern" API (Push/Pop) in RenderContext using PushFlags to restore these more
automatically. So get rid of the manual backup of the colors and call the API
instead.

Code is in sw/source/ui/frmdlg/column.cxx

There are probably more places in the codebase, which could be converted, but I
don't see a way to identify them, so this is just a single easy hack.

-- 
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