[PATCH] Fix exporting selected search results in Template Manager.
Rafael Dominguez (via Code Review)
gerrit at gerrit.libreoffice.org
Tue Mar 26 22:35:28 PDT 2013
Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/3078
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/78/3078/1
Fix exporting selected search results in Template Manager.
Change-Id: I0716b3f2833bdcc78a67f1b0874b92a59df705f7
---
M sfx2/source/doc/templatedlg.cxx
1 file changed, 1 insertion(+), 1 deletion(-)
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 @@
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;
--
To view, visit https://gerrit.libreoffice.org/3078
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0716b3f2833bdcc78a67f1b0874b92a59df705f7
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Rafael Dominguez <venccsralph at gmail.com>
More information about the LibreOffice
mailing list