sfx2/source/doc/saveastemplatedlg.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 8ef56a27a00b6af3e37f5c5be8e3b46f8d68fb97 Author: Akshay Deep <[email protected]> Date: Sat May 28 20:52:34 2016 +0530 Resolves: Error when overwriting a template in Template Save As Dialog After overwriting a template, overwritten template does not exist in the template manager because SfxDocumentTemplates is not updated.. Change-Id: I7e8605091de71b921f8dbed5ab2022ac292fe4b2 Reviewed-on: https://gerrit.libreoffice.org/25584 Tested-by: Jenkins <[email protected]> Reviewed-by: Samuel Mehrbrodt <[email protected]> (cherry picked from commit 395db598591edc123148770de42dac30bf505296) Reviewed-on: https://gerrit.libreoffice.org/25680 Reviewed-by: Akshay Deep <[email protected]> Tested-by: Akshay Deep <[email protected]> diff --git a/sfx2/source/doc/saveastemplatedlg.cxx b/sfx2/source/doc/saveastemplatedlg.cxx index 1d46197..beef6e6 100644 --- a/sfx2/source/doc/saveastemplatedlg.cxx +++ b/sfx2/source/doc/saveastemplatedlg.cxx @@ -162,6 +162,7 @@ bool SfxSaveAsTemplateDialog::SaveTemplate() if(!mpDocTemplates->InsertTemplate( mnRegionPos, nDocId, msTemplateName, sURL)) return false; + mpDocTemplates->Update(); return true; } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
