summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2019-05-13 15:56:52 +0200
committerAndras Timar <andras.timar@collabora.com>2019-06-12 11:13:54 +0200
commitcae40f0de45796295574fd1cf3d6a2e283407e9a (patch)
tree24bd204da74b0d9a715407f9346b1dcbee0d7077 /sdext
parentcb355767aab7d5746d8a8ba2da98bd5bc1d73384 (diff)
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> (cherry picked from commit aa446591b7feb5bb667533ef7acdfc636105f9d9) Reviewed-on: https://gerrit.libreoffice.org/72357 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/minimizer/graphiccollector.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sdext/source/minimizer/graphiccollector.cxx b/sdext/source/minimizer/graphiccollector.cxx
index d37945eeb542..e6dbd5ca581a 100644
--- a/sdext/source/minimizer/graphiccollector.cxx
+++ b/sdext/source/minimizer/graphiccollector.cxx
@@ -228,7 +228,8 @@ void ImpCollectGraphicObjects( const Reference< XComponentContext >& rxMSF, cons
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
@@ -348,7 +349,8 @@ void ImpCountGraphicObjects( const Reference< XComponentContext >& rxMSF, const
continue;
}
- if ( sShapeType == "com.sun.star.drawing.GraphicObjectShape" )
+ if ( sShapeType == "com.sun.star.drawing.GraphicObjectShape" ||
+ sShapeType == "com.sun.star.presentation.GraphicObjectShape" )
{
rnGraphics++;
}