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:
parent
ac9a59cb77
commit
aa446591b7
@ -220,7 +220,8 @@ static void ImpCollectGraphicObjects( const Reference< XComponentContext >& rxMS
|
||||
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 );
|
||||
|
||||
// now check for a fillstyle
|
||||
@ -337,7 +338,8 @@ static void ImpCountGraphicObjects( const Reference< XComponentContext >& rxMSF,
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( sShapeType == "com.sun.star.drawing.GraphicObjectShape" )
|
||||
if ( sShapeType == "com.sun.star.drawing.GraphicObjectShape" ||
|
||||
sShapeType == "com.sun.star.presentation.GraphicObjectShape" )
|
||||
{
|
||||
rnGraphics++;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user