[Libreoffice-commits] core.git: sfx2/source
Rafael Dominguez
venccsralph at gmail.com
Wed Mar 27 08:00:22 PDT 2013
sfx2/source/doc/templatedlg.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 74af6a27f539503aa8405ad34e1d0031f080921a
Author: Rafael Dominguez <venccsralph at gmail.com>
Date: Tue Mar 26 23:42:11 2013 -0430
Fix exporting selected search results in Template Manager.
Change-Id: I0716b3f2833bdcc78a67f1b0874b92a59df705f7
Reviewed-on: https://gerrit.libreoffice.org/3078
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat at free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat at free.fr>
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index cd4b999..7e6525a 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -900,7 +900,7 @@ void SfxTemplateManagerDlg::OnTemplateExport()
OUString aPath = aPathObj.GetMainURL( INetURLObject::NO_DECODE );
- if (!maView->exportTo(pItem->mnDocId,pItem->mnRegionId+1,aPath))
+ if (!maView->exportTo(pItem->mnAssocId,pItem->mnRegionId,aPath))
{
if (aTemplateList.isEmpty())
aTemplateList = pItem->maTitle;
More information about the Libreoffice-commits
mailing list