Kaydet (Commit) d9e5d228 authored tarafından Rafael Dominguez's avatar Rafael Dominguez Kaydeden (comit) Bosdonnat Cedric

Fix moving selected search results in Template Manager.

Change-Id: I51ae74f91845255dc1f332e33c8e708e5af1ead0
Reviewed-on: https://gerrit.libreoffice.org/3079Reviewed-by: 's avatarBosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: 's avatarBosdonnat Cedric <cedric.bosdonnat@free.fr>
üst 74af6a27
...@@ -1441,7 +1441,7 @@ void SfxTemplateManagerDlg::localSearchMoveTo(sal_uInt16 nMenuId) ...@@ -1441,7 +1441,7 @@ void SfxTemplateManagerDlg::localSearchMoveTo(sal_uInt16 nMenuId)
const TemplateSearchViewItem *pItem = const TemplateSearchViewItem *pItem =
static_cast<const TemplateSearchViewItem*>(*aIter); static_cast<const TemplateSearchViewItem*>(*aIter);
if(!maView->moveTemplate(pItem,pItem->mnRegionId+1,nItemId)) if(!maView->moveTemplate(pItem,pItem->mnRegionId,nItemId))
{ {
if (aTemplateList.isEmpty()) if (aTemplateList.isEmpty())
aTemplateList = (*aIter)->maTitle; aTemplateList = (*aIter)->maTitle;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment