summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-14 15:36:55 +0200
committerNoel Grandin <noel@peralex.com>2015-08-17 09:59:58 +0200
commit8d54e96536a1fee037788f5576b8a52dbbb541e4 (patch)
tree7bc37f25c7251179f5679b1274a14ba32e3b9dc3 /svl
parentab936a4e4277e248a64faa702d4e889f69527b3e (diff)
make Link<> typed
Change-Id: If16adfa3310df94c79d1a4fe9a9bb4f4f56365f0
Diffstat (limited to 'svl')
-rw-r--r--svl/source/numbers/zforlist.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx
index 4f18a0998bb4..c14ba2b0749c 100644
--- a/svl/source/numbers/zforlist.cxx
+++ b/svl/source/numbers/zforlist.cxx
@@ -317,7 +317,7 @@ SvNumberFormatterRegistry_Impl& SvNumberFormatter::GetFormatterRegistry()
return *pFormatterRegistry;
}
-void SvNumberFormatter::SetColorLink( const Link<>& rColorTableCallBack )
+void SvNumberFormatter::SetColorLink( const Link<sal_uInt16,Color*>& rColorTableCallBack )
{
aColorLink = rColorTableCallBack;
}
@@ -326,7 +326,7 @@ Color* SvNumberFormatter::GetUserDefColor(sal_uInt16 nIndex)
{
if( aColorLink.IsSet() )
{
- return reinterpret_cast<Color*>( aColorLink.Call( static_cast<void*>(&nIndex) )) ;
+ return aColorLink.Call(nIndex);
}
else
{