sdext/source/minimizer/graphiccollector.cxx |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 16341d7b3d4bfce05980524bb1775e0c0d69eb3b
Author:     Tamás Zolnai <[email protected]>
AuthorDate: Mon May 13 15:56:52 2019 +0200
Commit:     Andras Timar <[email protected]>
CommitDate: Sun May 19 10:52:44 2019 +0200

    Presentation minimizer: Handle also presentation.GraphicObjectShape URL
    
    Change-Id: I326b2803bf2d98d440e14d7f3f75ca61c2c9e49a
    Reviewed-on: https://gerrit.libreoffice.org/72303
    Reviewed-by: Tamás Zolnai <[email protected]>
    Tested-by: Tamás Zolnai <[email protected]>
    (cherry picked from commit aa446591b7feb5bb667533ef7acdfc636105f9d9)
    Reviewed-on: https://gerrit.libreoffice.org/72357
    Reviewed-by: Andras Timar <[email protected]>
    Tested-by: Andras Timar <[email protected]>

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++;
             }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to