summaryrefslogtreecommitdiff
path: root/forms/source/component/clickableimage.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-17 09:06:13 +0200
committerNoel Grandin <noel@peralex.com>2015-09-17 12:22:47 +0200
commit0535f42e5f09f56c9c101550f7cfedb40c761879 (patch)
tree547c8176bb266591e94458bff859cccb58633045 /forms/source/component/clickableimage.cxx
parenta609822d5e773fb5ba88352781295cb2ad99a585 (diff)
convert Link<> to typed
Change-Id: Ic3ce7783614d90a34f9c4414bbc7df9774091805
Diffstat (limited to 'forms/source/component/clickableimage.cxx')
-rw-r--r--forms/source/component/clickableimage.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/forms/source/component/clickableimage.cxx b/forms/source/component/clickableimage.cxx
index e0f8050371e7..5e05c52e1cb4 100644
--- a/forms/source/component/clickableimage.cxx
+++ b/forms/source/component/clickableimage.cxx
@@ -856,7 +856,7 @@ namespace frm
}
}
- IMPL_LINK( OClickableImageBaseModel, OnImageImportDone, Graphic*, i_pGraphic )
+ IMPL_LINK_TYPED( OClickableImageBaseModel, OnImageImportDone, Graphic*, i_pGraphic, void )
{
const Reference< XGraphic > xGraphic( i_pGraphic != NULL ? Graphic(i_pGraphic->GetBitmapEx()).GetXGraphic() : NULL );
if ( !xGraphic.is() )
@@ -868,7 +868,6 @@ namespace frm
m_xGraphicObject = css::graphic::GraphicObject::create( m_xContext );
m_xGraphicObject->setGraphic( xGraphic );
}
- return 1L;
}