diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-17 09:06:13 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-17 12:22:47 +0200 |
commit | 0535f42e5f09f56c9c101550f7cfedb40c761879 (patch) | |
tree | 547c8176bb266591e94458bff859cccb58633045 /forms/source/component/ImageControl.cxx | |
parent | a609822d5e773fb5ba88352781295cb2ad99a585 (diff) |
convert Link<> to typed
Change-Id: Ic3ce7783614d90a34f9c4414bbc7df9774091805
Diffstat (limited to 'forms/source/component/ImageControl.cxx')
-rw-r--r-- | forms/source/component/ImageControl.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/forms/source/component/ImageControl.cxx b/forms/source/component/ImageControl.cxx index cb24bb3e30e4..1ea2a33e7dcb 100644 --- a/forms/source/component/ImageControl.cxx +++ b/forms/source/component/ImageControl.cxx @@ -665,7 +665,7 @@ void SAL_CALL OImageControlModel::startProduction( ) throw (RuntimeException, s } -IMPL_LINK( OImageControlModel, OnImageImportDone, ::Graphic*, i_pGraphic ) +IMPL_LINK_TYPED( OImageControlModel, OnImageImportDone, ::Graphic*, i_pGraphic, void ) { const Reference< XGraphic > xGraphic( i_pGraphic != NULL ? Image( i_pGraphic->GetBitmapEx() ).GetXGraphic() : NULL ); m_bExternalGraphic = false; @@ -678,7 +678,6 @@ IMPL_LINK( OImageControlModel, OnImageImportDone, ::Graphic*, i_pGraphic ) DBG_UNHANDLED_EXCEPTION(); } m_bExternalGraphic = true; - return 1L; } |