sfx2/source/doc/templatedlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 390a0bf406ed5fd3bbd2c3f80d44c0bc344b95d2 Author: Niklas Johansson <sleeping.pil...@gmail.com> Date: Fri Mar 8 16:49:46 2013 +0100 A template it should create a new document not open in edit mode I did a misstake in a previous patch. This patch fixes that. Change-Id: I22c2ff8a03c5652717a8705474f2cbe3b5b9208b (cherry picked from commit 29fecdb19906ad4c6463d4a47de073ff36c1274c) diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index 06a0dfe..c5979fa 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -679,7 +679,7 @@ IMPL_LINK(SfxTemplateManagerDlg, OpenTemplateHdl, ThumbnailViewItem*, pItem) { uno::Sequence< PropertyValue > aArgs(3); aArgs[0].Name = "AsTemplate"; - aArgs[0].Value <<= sal_False; + aArgs[0].Value <<= sal_True; aArgs[1].Name = "MacroExecutionMode"; aArgs[1].Value <<= MacroExecMode::USE_CONFIG; aArgs[2].Name = "UpdateDocMode"; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits