summaryrefslogtreecommitdiff
path: root/svx/source/xoutdev
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-20 13:00:06 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-05-21 09:01:57 +0000
commit431598b97b47b13c8b241f587b5eea21bf134893 (patch)
treef94011f51ec2ab79679e7df6133e6ac8f52ba808 /svx/source/xoutdev
parent0cd2895e70eb96083ea78b1350583fe791b4237a (diff)
convert CVT constants to scoped enum
Change-Id: I7703816b6a1df2bf24c06cdf9992f9982ae724e8 Reviewed-on: https://gerrit.libreoffice.org/15826 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx/source/xoutdev')
-rw-r--r--svx/source/xoutdev/_xoutbmp.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/xoutdev/_xoutbmp.cxx b/svx/source/xoutdev/_xoutbmp.cxx
index 758e324a548e..e7c1a37ebfc1 100644
--- a/svx/source/xoutdev/_xoutbmp.cxx
+++ b/svx/source/xoutdev/_xoutbmp.cxx
@@ -332,24 +332,24 @@ sal_uLong XOutBitmap::GraphicToBase64(const Graphic& rGraphic, OUString& rOUStri
SvMemoryStream aOStm;
OUString aMimeType;
GfxLink aLink = rGraphic.GetLink();
- sal_uLong aCvtType;
+ ConvertDataFormat aCvtType;
switch( aLink.GetType() )
{
case( GFX_LINK_TYPE_NATIVE_JPG ):
- aCvtType = CVT_JPG;
+ aCvtType = ConvertDataFormat::JPG;
aMimeType = "image/jpeg";
break;
case( GFX_LINK_TYPE_NATIVE_PNG ):
- aCvtType = CVT_PNG;
+ aCvtType = ConvertDataFormat::PNG;
aMimeType = "image/png";
break;
case( GFX_LINK_TYPE_NATIVE_SVG ):
- aCvtType = CVT_SVG;
+ aCvtType = ConvertDataFormat::SVG;
aMimeType = "image/svg+xml";
break;
default:
// save everything else (including gif) into png
- aCvtType = CVT_PNG;
+ aCvtType = ConvertDataFormat::PNG;
aMimeType = "image/png";
break;
}