summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/shapes/gdimtftools.cxx2
-rw-r--r--slideshow/source/engine/shapes/shapeimporter.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/slideshow/source/engine/shapes/gdimtftools.cxx b/slideshow/source/engine/shapes/gdimtftools.cxx
index ae5997d2ff71..eb633515cc21 100644
--- a/slideshow/source/engine/shapes/gdimtftools.cxx
+++ b/slideshow/source/engine/shapes/gdimtftools.cxx
@@ -133,7 +133,7 @@ public:
Graphic aGraphic( mxGraphic );
- if( aGraphic.GetType() == GRAPHIC_BITMAP ||
+ if( aGraphic.GetType() == GraphicType::Bitmap ||
(bForeignSource &&
hasUnsupportedActions(aGraphic.GetGDIMetaFile()) ) )
{
diff --git a/slideshow/source/engine/shapes/shapeimporter.cxx b/slideshow/source/engine/shapes/shapeimporter.cxx
index 5546d1668672..d8c94189c557 100644
--- a/slideshow/source/engine/shapes/shapeimporter.cxx
+++ b/slideshow/source/engine/shapes/shapeimporter.cxx
@@ -103,8 +103,8 @@ bool importShapeGraphic(
o_rGraphic = GraphicObject( aOldString );
- if( GRAPHIC_DEFAULT == o_rGraphic.GetType()
- || GRAPHIC_NONE == o_rGraphic.GetType() )
+ if( GraphicType::Default == o_rGraphic.GetType()
+ || GraphicType::NONE == o_rGraphic.GetType() )
{
// even the GrfMgr does not seem to know this graphic
return false;