[Libreoffice-bugs] [Bug 131190] Can not delete pagestyle in Calc

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Mar 16 07:53:07 UTC 2020


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

--- Comment #4 from Jim Raykowski <raykowj at gmail.com> ---
(In reply to Oliver Brinzing from comment #3)
> seems to have started with:
> 
> https://gerrit.libreoffice.org/gitweb?p=core.git;a=commit;
> h=9cbc55167301cefe9889ad8e604439e0118b627f
> 
> tdf#128557 Only show delete menu item when custom style is not in use
> or it has a parent style so when a custom paragraph style is in use it 
> can be deleted and the style will revert to the parent
> 
> I think the problem is:
> Bug 108188 - PageStyle property "isInUse" is always true
> 

I agree this is the problem.

Here is a patch to return the ability to delete custom page styles in Calc. It
doesn't solve the "isInUse" problem, it just changes all page style is in use
queries to return as not in use. It will cause your macro to not report any
page style in use instead of reporting all page styles in use.

https://gerrit.libreoffice.org/c/core/+/90547

-- 
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/20200316/8f9316be/attachment.htm>


More information about the Libreoffice-bugs mailing list