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 /oox | |
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 'oox')
-rw-r--r-- | oox/source/export/drawingml.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index 832914f7ca9c..d202f12fc637 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -871,13 +871,13 @@ OUString DrawingML::WriteImage( const Graphic& rGraphic , bool bRelPathToMedia ) { if ( aType == GRAPHIC_BITMAP ) { - (void)GraphicConverter::Export( aStream, rGraphic, CVT_PNG ); + (void)GraphicConverter::Export( aStream, rGraphic, ConvertDataFormat::PNG ); sMediaType = "image/png"; pExtension = ".png"; } else { - (void)GraphicConverter::Export( aStream, rGraphic, CVT_EMF ); + (void)GraphicConverter::Export( aStream, rGraphic, ConvertDataFormat::EMF ); sMediaType = "image/x-emf"; pExtension = ".emf"; } |