diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-25 12:05:54 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-26 07:25:53 +0000 |
commit | 92d3025521ec8939b66500347f8d38ed5b24e3c8 (patch) | |
tree | 49caa68d29d8dea2421c88a674f1773877956dc5 /svtools | |
parent | 702eb3d389f7525674f0743a46c987bc981394f3 (diff) |
Convert MtfConversion to scoped enum
Change-Id: I694fe139531a10467265b028ad15df0eda6d723a
Reviewed-on: https://gerrit.libreoffice.org/25442
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/graphic/grfmgr2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/graphic/grfmgr2.cxx b/svtools/source/graphic/grfmgr2.cxx index 70291ebbea8e..1f934f786c69 100644 --- a/svtools/source/graphic/grfmgr2.cxx +++ b/svtools/source/graphic/grfmgr2.cxx @@ -1513,11 +1513,11 @@ void GraphicManager::ImplAdjust( GDIMetaFile& rMtf, const GraphicAttr& rAttr, Gr switch( aAttr.GetDrawMode() ) { case GRAPHICDRAWMODE_MONO: - rMtf.Convert( MTF_CONVERSION_1BIT_THRESHOLD ); + rMtf.Convert( MtfConversion::N1BitThreshold ); break; case GRAPHICDRAWMODE_GREYS: - rMtf.Convert( MTF_CONVERSION_8BIT_GREYS ); + rMtf.Convert( MtfConversion::N8BitGreys ); break; case GRAPHICDRAWMODE_WATERMARK: |