From f845a08a6155c3f7b0e345ff5d200956fd195eb7 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 9 May 2015 21:28:45 +0200 Subject: Replace IMPL_STATIC_LINK[_TYPED] with more useful variants Change-Id: I9aca53ea7c957524a4ade0f20ef47954ddcbf5de --- editeng/source/items/numitem.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'editeng') diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx index 2bf5ba832b70..c78822484e39 100644 --- a/editeng/source/items/numitem.cxx +++ b/editeng/source/items/numitem.cxx @@ -484,16 +484,16 @@ void SvxNumberFormat::SetIndentAt( const long nIndentAt ) mnIndentAt = nIndentAt; } -IMPL_STATIC_LINK( SvxNumberFormat, GraphicArrived, void *, EMPTYARG ) +IMPL_LINK_NOARG( SvxNumberFormat, GraphicArrived ) { // if necessary, set the GrfSize: - if( !pThis->aGraphicSize.Width() || !pThis->aGraphicSize.Height() ) + if( !aGraphicSize.Width() || !aGraphicSize.Height() ) { - const Graphic* pGrf = pThis->pGraphicBrush->GetGraphic(); + const Graphic* pGrf = pGraphicBrush->GetGraphic(); if( pGrf ) - pThis->aGraphicSize = SvxNumberFormat::GetGraphicSizeMM100( pGrf ); + aGraphicSize = SvxNumberFormat::GetGraphicSizeMM100( pGrf ); } - pThis->NotifyGraphicArrived(); + NotifyGraphicArrived(); return 0; } -- cgit