<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Can not delete pagestyle in Calc"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=131190#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Can not delete pagestyle in Calc"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=131190">bug 131190</a>
              from <span class="vcard"><a class="email" href="mailto:raykowj@gmail.com" title="Jim Raykowski <raykowj@gmail.com>"> <span class="fn">Jim Raykowski</span></a>
</span></b>
        <pre>(In reply to Oliver Brinzing from <a href="show_bug.cgi?id=131190#c3">comment #3</a>)
<span class="quote">> seems to have started with:

> <a href="https://gerrit.libreoffice.org/gitweb?p=core.git;a=commit">https://gerrit.libreoffice.org/gitweb?p=core.git;a=commit</a>;
> h=9cbc55167301cefe9889ad8e604439e0118b627f

> <a class="bz_bug_link 
          bz_status_VERIFIED  bz_closed"
   title="VERIFIED FIXED - List Styles can't be deleted in Custom Styles view"
   href="show_bug.cgi?id=128557">tdf#128557</a> 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:
> <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - PageStyle property "isInUse" is always true"
   href="show_bug.cgi?id=108188">Bug 108188</a> - PageStyle property "isInUse" is always true
> </span >

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.

<a href="https://gerrit.libreoffice.org/c/core/+/90547">https://gerrit.libreoffice.org/c/core/+/90547</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>