[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - sfx2/source
Niklas Johansson
sleeping.pillow at gmail.com
Fri Mar 8 09:17:41 PST 2013
sfx2/source/doc/templatedlg.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 29fecdb19906ad4c6463d4a47de073ff36c1274c
Author: Niklas Johansson <sleeping.pillow at 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
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index fa7b52b..7041966 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -678,7 +678,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";
More information about the Libreoffice-commits
mailing list