https://issues.apache.org/ooo/show_bug.cgi?id=121304

bmarcelly <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from bmarcelly <[email protected]> ---
For the simple problem of detaching the current document from its template, add
this routine in a library of My Macros.

Sub DetachFromTemplate
Dim d As New com.sun.star.util.DateTime
ThisComponent.DocumentProperties.TemplateName = ""
ThisComponent.DocumentProperties.TemplateURL  = ""
ThisComponent.DocumentProperties.TemplateDate = d
ThisComponent.store
End Sub

Run it from a button or a shortcut. It works for Writer, Calc, Draw, Impress
documents.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to