diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-20 13:00:06 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-05-21 09:01:57 +0000 |
commit | 431598b97b47b13c8b241f587b5eea21bf134893 (patch) | |
tree | f94011f51ec2ab79679e7df6133e6ac8f52ba808 /svx/source/xoutdev | |
parent | 0cd2895e70eb96083ea78b1350583fe791b4237a (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.cxx | 10 |
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; } |