summaryrefslogtreecommitdiff
path: root/sfx2/source/control/templatecontaineritem.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-09-18 12:44:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-09-18 12:46:23 +0100
commite90982f5962968a0f334d232b3be54fcdb736e1d (patch)
treef9a90ebe599a619613738aa79885506d4103ee7b /sfx2/source/control/templatecontaineritem.cxx
parente3172bbaa08e6a097b0503860b2f4c60e5cc23be (diff)
Resolves: fdo#69444 cursor keys don't move between recent used docs
because each item is identified by an id, but that isn't set on the recent used so it stays stuck on the first one. change the ctor of the base element to require an id to be passed to it and adjust all the good code and then use the index+1 of the recently used elements as the id. Change-Id: I1e5978ddedbd4718923ef72d67598158d5ba8ee7
Diffstat (limited to 'sfx2/source/control/templatecontaineritem.cxx')
-rw-r--r--sfx2/source/control/templatecontaineritem.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/control/templatecontaineritem.cxx b/sfx2/source/control/templatecontaineritem.cxx
index 5dc8c301ee88..fb0cf99c9815 100644
--- a/sfx2/source/control/templatecontaineritem.cxx
+++ b/sfx2/source/control/templatecontaineritem.cxx
@@ -28,8 +28,8 @@ using namespace basegfx::tools;
using namespace drawinglayer::attribute;
using namespace drawinglayer::primitive2d;
-TemplateContainerItem::TemplateContainerItem (ThumbnailView &rView)
- : ThumbnailViewItem(rView)
+TemplateContainerItem::TemplateContainerItem (ThumbnailView &rView, sal_uInt16 nId)
+ : ThumbnailViewItem(rView, nId)
{
}