diff options
author | Rafael Dominguez <venccsralph@gmail.com> | 2013-03-26 19:00:11 -0430 |
---|---|---|
committer | Bosdonnat Cedric <cedric.bosdonnat@free.fr> | 2013-03-27 14:57:26 +0000 |
commit | 036c783b4c755c3054ab89a16853a145a13cbcfe (patch) | |
tree | 3a230650598b8f7bd8e382a389744db2106812fb /sfx2/source/control/templateabstractview.cxx | |
parent | 4653d73c577d5bf197e7e6c01876f85cf728e279 (diff) |
Separate template region ids from thumbnail ids.
- Update all actions to use the new system.
Change-Id: I22da25a4bbba4604f5df42f440e6532076d39457
Reviewed-on: https://gerrit.libreoffice.org/3075
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Diffstat (limited to 'sfx2/source/control/templateabstractview.cxx')
-rw-r--r-- | sfx2/source/control/templateabstractview.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/templateabstractview.cxx b/sfx2/source/control/templateabstractview.cxx index baa72ee64ff1..eb725ba4c1fb 100644 --- a/sfx2/source/control/templateabstractview.cxx +++ b/sfx2/source/control/templateabstractview.cxx @@ -375,7 +375,7 @@ void TemplateAbstractView::OnItemDblClicked (ThumbnailViewItem *pItem) { // Fill templates - mnCurRegionId = pContainerItem->mnId-1; + mnCurRegionId = pContainerItem->mnRegionId+1; maCurRegionName = pContainerItem->maTitle; maFTName.SetText(maCurRegionName); showRegion(pItem); |