summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-10 08:29:52 +0200
committerNoel Grandin <noel@peralex.com>2015-09-10 08:30:11 +0200
commit2466aa27429b2ffcc45f108284396d7527470e78 (patch)
tree620676e4b649ebeee85a5fb70e9dcbc1a59c0245 /unotools
parent9ea0390f17d5183471a27cf7666b45abf3f1e8a0 (diff)
convert Link<> to typed
Change-Id: Iaeaa33b0b066723d561df0c58f3faedead259d8f
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/syslocaleoptions.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/unotools/source/config/syslocaleoptions.cxx b/unotools/source/config/syslocaleoptions.cxx
index fb322bc6d541..05d25d003203 100644
--- a/unotools/source/config/syslocaleoptions.cxx
+++ b/unotools/source/config/syslocaleoptions.cxx
@@ -43,7 +43,7 @@ sal_Int32 SvtSysLocaleOptions::nRefCount = 0;
namespace
{
struct CurrencyChangeLink
- : public rtl::Static<Link<>, CurrencyChangeLink> {};
+ : public rtl::Static<Link<LinkParamNone*,void>, CurrencyChangeLink> {};
}
class SvtSysLocaleOptions_Impl : public utl::ConfigItem
@@ -679,7 +679,7 @@ OUString SvtSysLocaleOptions::CreateCurrencyConfigString(
}
// static
-void SvtSysLocaleOptions::SetCurrencyChangeLink( const Link<>& rLink )
+void SvtSysLocaleOptions::SetCurrencyChangeLink( const Link<LinkParamNone*,void>& rLink )
{
MutexGuard aGuard( GetMutex() );
DBG_ASSERT( !CurrencyChangeLink::get().IsSet(), "SvtSysLocaleOptions::SetCurrencyChangeLink: already set" );
@@ -687,7 +687,7 @@ void SvtSysLocaleOptions::SetCurrencyChangeLink( const Link<>& rLink )
}
// static
-const Link<>& SvtSysLocaleOptions::GetCurrencyChangeLink()
+const Link<LinkParamNone*,void>& SvtSysLocaleOptions::GetCurrencyChangeLink()
{
MutexGuard aGuard( GetMutex() );
return CurrencyChangeLink::get();
@@ -697,7 +697,7 @@ void SvtSysLocaleOptions::ConfigurationChanged( utl::ConfigurationBroadcaster* p
{
if ( nHint & SYSLOCALEOPTIONS_HINT_CURRENCY )
{
- const Link<>& rLink = GetCurrencyChangeLink();
+ const Link<LinkParamNone*,void>& rLink = GetCurrencyChangeLink();
if ( rLink.IsSet() )
rLink.Call( NULL );
}