[Libreoffice-ux-advise] [Bug 129422] Find and Replace for paragraph styles includes parent paragraph styles that are not in the Document

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Dec 17 12:00:23 UTC 2019


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

--- Comment #3 from Mike Kaganski <mikekaganski at hotmail.com> ---
(In reply to Heiko Tietze from comment #2)

No idea how to fix this right now; just a quick code pointer to anyone who
wants to fix this (I don't think it's an easy hack though):
SwStyleSheetIterator::First in sw/source/uibase/app/docstyle.cxx populates the
list - see `rDoc.IsUsed(*pColl)` call which checks if the style is used.
Currently it returns true for any style that is used, even indirectly. Either
the method should take a flag like "bUsedDirectly", or a check should be added
later on used styles when only directly used styles are requested.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list