don't need an intermediate Image
Change-Id: I090d94cfe433763ded70f28b5139772bca229c34
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user