<div dir="ltr"><div>Im working on the new template manager dialog and i got a problem when saving a a new blank document as a template, i use the storeTemplate method of XDocumentTemplates class, but it doesnt update the document URL,  so after a while checking the problem i found that the issue is that XDocumentTemplates calls storeToURL method of XStorage class instead of storeAsURL as the save command.<br>
<br></div><div>So my question is that is it possible to change the behaviour of storeTemplate to call storeAsURL instead of storeToURL? or is there any workaround i can use to fix the problem??<br><br></div><div>PS: The only code where this is used besides Template manager is in <a href="http://opengrok.libreoffice.org/xref/core/sfx2/source/doc/doctempl.cxx#879">http://opengrok.libreoffice.org/xref/core/sfx2/source/doc/doctempl.cxx#879</a> but im not sure if thats active or not and it might have an impact on extensions using the method but i think it wont be problematic since it will just update the document URL info and the document frame if you have it currently opened, which is just reflecting the action you did, so i think no harm there.<br>
</div><div><br>Thanks<br></div></div>