summaryrefslogtreecommitdiff
path: root/svx/source/core/graphichelper.cxx
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 /svx/source/core/graphichelper.cxx
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 'svx/source/core/graphichelper.cxx')
-rw-r--r--svx/source/core/graphichelper.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/svx/source/core/graphichelper.cxx b/svx/source/core/graphichelper.cxx
index 4816342a7fbc..f163af063b04 100644
--- a/svx/source/core/graphichelper.cxx
+++ b/svx/source/core/graphichelper.cxx
@@ -63,28 +63,28 @@ void GraphicHelper::GetPreferredExtension( OUString& rExtension, const Graphic&
OUString aExtension = "png";
switch( rGraphic.GetLink().GetType() )
{
- case GFX_LINK_TYPE_NATIVE_GIF:
+ case GfxLinkType::NativeGif:
aExtension = "gif";
break;
- case GFX_LINK_TYPE_NATIVE_TIF:
+ case GfxLinkType::NativeTif:
aExtension = "tif";
break;
- case GFX_LINK_TYPE_NATIVE_WMF:
+ case GfxLinkType::NativeWmf:
aExtension = "wmf";
break;
- case GFX_LINK_TYPE_NATIVE_MET:
+ case GfxLinkType::NativeMet:
aExtension = "met";
break;
- case GFX_LINK_TYPE_NATIVE_PCT:
+ case GfxLinkType::NativePct:
aExtension = "pct";
break;
- case GFX_LINK_TYPE_NATIVE_JPG:
+ case GfxLinkType::NativeJpg:
aExtension = "jpg";
break;
- case GFX_LINK_TYPE_NATIVE_BMP:
+ case GfxLinkType::NativeBmp:
aExtension = "bmp";
break;
- case GFX_LINK_TYPE_NATIVE_SVG:
+ case GfxLinkType::NativeSvg:
aExtension = "svg";
break;
default: