diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-20 17:17:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-20 17:17:52 +0000 |
commit | f9bad9e8fbade0da2c706d37e9a4cc9db5fd44ba (patch) | |
tree | 7f794922899db4d2558d992182aa3899ce070c8c /forms | |
parent | 8c32579d4840997e0bfd6075d5b6ecb66d468aa9 (diff) |
don't need an intermediate Image
Change-Id: I090d94cfe433763ded70f28b5139772bca229c34
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/ImageControl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/ImageControl.cxx b/forms/source/component/ImageControl.cxx index 465b85918500..966bbb15e658 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 { |