summaryrefslogtreecommitdiff
path: root/include/sfx2/thumbnailview.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-13 10:43:22 +0200
committerNoel Grandin <noel@peralex.com>2015-08-13 10:49:58 +0200
commitc9f20fbc2caf04629cc56f556b4a09bd6599a959 (patch)
tree1115e89326685a6bc44f780f96176a2d4a89e983 /include/sfx2/thumbnailview.hxx
parentce7cec07d37747051172ebc9864c016ccf34fe14 (diff)
make Link<> instances typed
Change-Id: I0805c49b1ae7f324d5235e46b3c55e67239195c7
Diffstat (limited to 'include/sfx2/thumbnailview.hxx')
-rw-r--r--include/sfx2/thumbnailview.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/thumbnailview.hxx b/include/sfx2/thumbnailview.hxx
index a522ef8e86c7..fa4563d3c732 100644
--- a/include/sfx2/thumbnailview.hxx
+++ b/include/sfx2/thumbnailview.hxx
@@ -231,7 +231,7 @@ public:
void sortItems (const std::function<bool (const ThumbnailViewItem*,
const ThumbnailViewItem*) > &func);
- void setItemStateHdl (const Link<> &aLink) { maItemStateHdl = aLink; }
+ void setItemStateHdl (const Link<const ThumbnailViewItem*,void> &aLink) { maItemStateHdl = aLink; }
virtual void Resize() SAL_OVERRIDE;
@@ -323,7 +323,7 @@ protected:
Color maHighlightTextColor; ///< Color of the text for the higlighted item.
double mfHighlightTransparence; ///< Transparence of the highlight.
- Link<> maItemStateHdl;
+ Link<const ThumbnailViewItem*, void> maItemStateHdl;
ThumbnailItemAttributes* mpItemAttrs;
std::function<bool (const ThumbnailViewItem*)> maFilterFunc;