summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-30 10:24:32 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-31 06:26:25 +0000
commitfe6ac2d11a6f870094bd630759f998d8ed9272e3 (patch)
tree6012c260e7926a2cdd01e586f83add8af1ec327e /oox
parent0b23eec200c8c12db5778405df44f4bf8e38e4ad (diff)
Convert GfxLinkType to scoped enum
Change-Id: Iae074ef0927a55f1fbf401cb66f4f183213f547c Reviewed-on: https://gerrit.libreoffice.org/25656 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/drawingml.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index b4af05527f91..a3c40fb18752 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -841,43 +841,43 @@ OUString DrawingML::WriteImage( const Graphic& rGraphic , bool bRelPathToMedia )
switch ( aLink.GetType() )
{
- case GFX_LINK_TYPE_NATIVE_GIF:
+ case GfxLinkType::NativeGif:
sMediaType = "image/gif";
pExtension = ".gif";
break;
// #i15508# added BMP type for better exports
// export not yet active, so adding for reference (not checked)
- case GFX_LINK_TYPE_NATIVE_BMP:
+ case GfxLinkType::NativeBmp:
sMediaType = "image/bmp";
pExtension = ".bmp";
break;
- case GFX_LINK_TYPE_NATIVE_JPG:
+ case GfxLinkType::NativeJpg:
sMediaType = "image/jpeg";
pExtension = ".jpeg";
break;
- case GFX_LINK_TYPE_NATIVE_PNG:
+ case GfxLinkType::NativePng:
sMediaType = "image/png";
pExtension = ".png";
break;
- case GFX_LINK_TYPE_NATIVE_TIF:
+ case GfxLinkType::NativeTif:
sMediaType = "image/tiff";
pExtension = ".tif";
break;
- case GFX_LINK_TYPE_NATIVE_WMF:
+ case GfxLinkType::NativeWmf:
sMediaType = "image/x-wmf";
pExtension = ".wmf";
break;
- case GFX_LINK_TYPE_NATIVE_MET:
+ case GfxLinkType::NativeMet:
sMediaType = "image/x-met";
pExtension = ".met";
break;
- case GFX_LINK_TYPE_NATIVE_PCT:
+ case GfxLinkType::NativePct:
sMediaType = "image/x-pict";
pExtension = ".pct";
break;
- case GFX_LINK_TYPE_NATIVE_MOV:
+ case GfxLinkType::NativeMov:
sMediaType = "application/movie";
pExtension = ".MOV";
break;