summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-09 21:28:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-10 11:25:42 +0200
commitf845a08a6155c3f7b0e345ff5d200956fd195eb7 (patch)
treebc2d2cfab39de00c3831ecaa8a45559df3830603 /editeng
parent74c0eb0626b9ce8849f82249466866515bce6f22 (diff)
Replace IMPL_STATIC_LINK[_TYPED] with more useful variants
Change-Id: I9aca53ea7c957524a4ade0f20ef47954ddcbf5de
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/numitem.cxx10
1 files changed, 5 insertions, 5 deletions
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;
}