diff options
Diffstat (limited to 'sw/source/core/layout/paintfrm.cxx')
-rw-r--r-- | sw/source/core/layout/paintfrm.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index fe2089555398..be5fb3f9c861 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -1836,7 +1836,7 @@ static void lcl_DrawGraphic( const SvxBrushItem& rBrush, OutputDevice *pOut, } // No Link here, we want to load the graphic synchronously! - const_cast<SvxBrushItem&>(rBrush).SetDoneLink( Link() ); + const_cast<SvxBrushItem&>(rBrush).SetDoneLink( Link<>() ); GraphicObject *pGrf = const_cast<GraphicObject*>(rBrush.GetGraphicObject()); // Outsource drawing of background with a background color @@ -1984,7 +1984,7 @@ void DrawGraphic( rSh.GetOut()->GetOutDevType() == OUTDEV_PRINTER ) { pBrush->PurgeMedium(); - const_cast<SvxBrushItem*>(pBrush)->SetDoneLink( Link() ); + const_cast<SvxBrushItem*>(pBrush)->SetDoneLink( Link<>() ); } else const_cast<SvxBrushItem*>(pBrush)->SetDoneLink( LINK( |