From 850a8d27ca696f18ce0c529346f8bb8505499545 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 27 May 2016 09:43:22 +0200 Subject: Convert GRAPHIC to scoped enum Change-Id: I1fd09a729cbda00f99841532e0dd3fa66bce7bea Reviewed-on: https://gerrit.libreoffice.org/25534 Tested-by: Jenkins Reviewed-by: Noel Grandin --- oox/source/export/drawingml.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'oox') diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index 880351d61bd1..b4af05527f91 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -884,9 +884,9 @@ OUString DrawingML::WriteImage( const Graphic& rGraphic , bool bRelPathToMedia ) default: { GraphicType aType = rGraphic.GetType(); - if ( aType == GRAPHIC_BITMAP || aType == GRAPHIC_GDIMETAFILE) + if ( aType == GraphicType::Bitmap || aType == GraphicType::GdiMetafile) { - if ( aType == GRAPHIC_BITMAP ) + if ( aType == GraphicType::Bitmap ) { (void)GraphicConverter::Export( aStream, rGraphic, ConvertDataFormat::PNG ); sMediaType = "image/png"; -- cgit