[Libreoffice-commits] core.git: forms/source
Caolán McNamara
caolanm at redhat.com
Fri Jan 20 17:18:56 UTC 2017
forms/source/component/ImageControl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f9bad9e8fbade0da2c706d37e9a4cc9db5fd44ba
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Jan 20 17:17:52 2017 +0000
don't need an intermediate Image
Change-Id: I090d94cfe433763ded70f28b5139772bca229c34
diff --git a/forms/source/component/ImageControl.cxx b/forms/source/component/ImageControl.cxx
index 465b859..966bbb1 100644
--- a/forms/source/component/ImageControl.cxx
+++ b/forms/source/component/ImageControl.cxx
@@ -659,7 +659,7 @@ void SAL_CALL OImageControlModel::startProduction( ) throw (RuntimeException, s
IMPL_LINK( OImageControlModel, OnImageImportDone, ::Graphic*, i_pGraphic, void )
{
- const Reference< XGraphic > xGraphic( i_pGraphic != nullptr ? Image( i_pGraphic->GetBitmapEx() ).GetXGraphic() : nullptr );
+ const Reference< XGraphic > xGraphic(i_pGraphic != nullptr ? i_pGraphic->GetXGraphic() : nullptr);
m_bExternalGraphic = false;
try
{
More information about the Libreoffice-commits
mailing list