summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-09-02 15:59:16 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-09-03 07:21:26 +0000
commit411e32244c7bff5fb64a049b1c63cf15ac166cd3 (patch)
treecb24cba623bc3dd64bca0352e230e8508631ac0a /svx
parent37603521c0a6a0a34174a5020a6999ffb9d041d8 (diff)
convert Link<> to typed
Change-Id: Ic15d0539aa00b46694a1715b6dda9d78bb1c00d8 Reviewed-on: https://gerrit.libreoffice.org/18269 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/inc/GalleryControl.hxx3
-rw-r--r--svx/source/gallery2/GalleryControl.cxx4
2 files changed, 3 insertions, 4 deletions
diff --git a/svx/inc/GalleryControl.hxx b/svx/inc/GalleryControl.hxx
index a807b05dbea8..268aba405abd 100644
--- a/svx/inc/GalleryControl.hxx
+++ b/svx/inc/GalleryControl.hxx
@@ -33,6 +33,7 @@ class GallerySplitter;
class GalleryBrowser1;
class GalleryBrowser2;
class FmFormModel;
+class Splitter;
namespace svx { namespace sidebar {
@@ -59,7 +60,7 @@ private:
virtual void Resize() SAL_OVERRIDE;
virtual void GetFocus() SAL_OVERRIDE;
- DECL_LINK(SplitHdl, void*);
+ DECL_LINK_TYPED(SplitHdl, Splitter*, void);
protected:
void ThemeSelectionHasChanged();
diff --git a/svx/source/gallery2/GalleryControl.cxx b/svx/source/gallery2/GalleryControl.cxx
index 66440e7809c7..b06cd4d259e9 100644
--- a/svx/source/gallery2/GalleryControl.cxx
+++ b/svx/source/gallery2/GalleryControl.cxx
@@ -226,7 +226,7 @@ void GalleryControl::ThemeSelectionHasChanged()
mpBrowser2->SelectTheme(mpBrowser1->GetSelectedTheme());
}
-IMPL_LINK_NOARG( GalleryControl, SplitHdl )
+IMPL_LINK_NOARG_TYPED( GalleryControl, SplitHdl, Splitter*, void )
{
if(mpSplitter->IsHorizontal())
{
@@ -238,8 +238,6 @@ IMPL_LINK_NOARG( GalleryControl, SplitHdl )
}
Resize();
-
- return 0L;
}