summaryrefslogtreecommitdiff
path: root/include/sfx2/templateviewitem.hxx
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 /include/sfx2/templateviewitem.hxx
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 'include/sfx2/templateviewitem.hxx')
-rw-r--r--include/sfx2/templateviewitem.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/templateviewitem.hxx b/include/sfx2/templateviewitem.hxx
index 6e3442b6b347..92d591995189 100644
--- a/include/sfx2/templateviewitem.hxx
+++ b/include/sfx2/templateviewitem.hxx
@@ -16,7 +16,7 @@ class TemplateViewItem : public ThumbnailViewItem
{
public:
- TemplateViewItem (ThumbnailView &rView);
+ TemplateViewItem (ThumbnailView &rView, sal_uInt16 nId);
virtual ~TemplateViewItem ();