summaryrefslogtreecommitdiff
path: root/svx/source/gallery2/galbrws1.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-10-04 15:05:38 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-12 10:48:13 +0000
commit3c99f8500f657ed84b316390d5175a6f5e56bc69 (patch)
tree749f16652560a50d409b12a23bf1a5d93b3cd2d5 /svx/source/gallery2/galbrws1.cxx
parentbbadb38539eb233ac45b267034066a7274181c65 (diff)
convert Link<> to typed
Change-Id: Iec15042138e0715459b2c9e872a7464d75a6b1eb Reviewed-on: https://gerrit.libreoffice.org/19305 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx/source/gallery2/galbrws1.cxx')
-rw-r--r--svx/source/gallery2/galbrws1.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/svx/source/gallery2/galbrws1.cxx b/svx/source/gallery2/galbrws1.cxx
index 5999300977fb..beebfd6b2ef1 100644
--- a/svx/source/gallery2/galbrws1.cxx
+++ b/svx/source/gallery2/galbrws1.cxx
@@ -311,7 +311,7 @@ void GalleryBrowser1::ImplEndGalleryThemeProperties( VclAbstractDialog2* pDialog
if ( bCreateNew )
{
mpThemes->SelectEntry( mpExchangeData->pTheme->GetName() );
- SelectThemeHdl( NULL );
+ SelectThemeHdl( *mpThemes );
}
}
@@ -472,7 +472,7 @@ void GalleryBrowser1::Notify( SfxBroadcaster&, const SfxHint& rHint )
if( nCurSelectPos == nRenameEntryPos )
{
mpThemes->SelectEntry( rGalleryHint.GetStringData() );
- SelectThemeHdl( NULL );
+ SelectThemeHdl( *mpThemes );
}
}
break;
@@ -497,7 +497,7 @@ void GalleryBrowser1::Notify( SfxBroadcaster&, const SfxHint& rHint )
else
mpThemes->SetNoSelection();
- SelectThemeHdl( NULL );
+ SelectThemeHdl( *mpThemes );
}
}
break;
@@ -614,11 +614,10 @@ IMPL_LINK_TYPED( GalleryBrowser1, PopupMenuHdl, Menu*, pMenu, bool )
return false;
}
-IMPL_LINK_NOARG(GalleryBrowser1, SelectThemeHdl)
+IMPL_LINK_NOARG_TYPED(GalleryBrowser1, SelectThemeHdl, ListBox&, void)
{
if (maThemeSlectionHandler)
maThemeSlectionHandler();
- return 0L;
}
IMPL_LINK_NOARG_TYPED(GalleryBrowser1, ClickNewThemeHdl, Button*, void)