Presentation minimizer: Handle also presentation.GraphicObjectShape URL
Change-Id: I326b2803bf2d98d440e14d7f3f75ca61c2c9e49a Reviewed-on: https://gerrit.libreoffice.org/72303 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
This commit is contained in:
@@ -220,7 +220,8 @@ static void ImpCollectGraphicObjects( const Reference< XComponentContext >& rxMS
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( sShapeType == "com.sun.star.drawing.GraphicObjectShape" )
|
if ( sShapeType == "com.sun.star.drawing.GraphicObjectShape" ||
|
||||||
|
sShapeType == "com.sun.star.presentation.GraphicObjectShape" )
|
||||||
ImpAddGraphicEntity( rxMSF, xShape, rGraphicSettings, rGraphicEntities );
|
ImpAddGraphicEntity( rxMSF, xShape, rGraphicSettings, rGraphicEntities );
|
||||||
|
|
||||||
// now check for a fillstyle
|
// now check for a fillstyle
|
||||||
@@ -337,7 +338,8 @@ static void ImpCountGraphicObjects( const Reference< XComponentContext >& rxMSF,
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( sShapeType == "com.sun.star.drawing.GraphicObjectShape" )
|
if ( sShapeType == "com.sun.star.drawing.GraphicObjectShape" ||
|
||||||
|
sShapeType == "com.sun.star.presentation.GraphicObjectShape" )
|
||||||
{
|
{
|
||||||
rnGraphics++;
|
rnGraphics++;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user