[Libreoffice-bugs] [Bug 123027] FOOTNOTE SETTING DIALOG: Changing character style of footnote area has no effect

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Mar 20 04:44:36 UTC 2021


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

--- Comment #8 from Justin L <jluth at mail.com> ---
/me wonders why not just modify the Footnote Characters style and change the
position to superscript?

Also, a custom style or any of the other styles work as a substitute. So it
seems there are lots of work-arounds.

I can confirm Mike's bibisect - but not by using bibisect because any Linux
dialog is crashing on OK shortly before that (using bibisect-linux-x64-6.2.

The problem seems to be in here:
            else if(pDocFormat->GetPoolFormatId() == nId)
                pDocFormat->SetPoolFormatId(0);

The order of preference (based on ID numbers) is 
Footnote Characters (1024)
Footnote Anchor (1037)
Endnote Characters (1034)
Endnote Anchors (1038)

Since Endnote Characters is the third in the list, it will accept to change to
Footnote Characters, or Footnote anchor, but not Endnote anchor. So Endnote
Anchors can be changed to any of the existing markers, but Footnote Characters
cannot be changed to anything else.

I haven't figured out exactly why that is. I also notice that the list of
pDoc->GetCharFormats() grows each time, so a memory leak is included in the
list of problems here.

-- 
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/20210320/c70a8130/attachment.htm>


More information about the Libreoffice-bugs mailing list