summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-25 12:05:54 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-26 07:25:53 +0000
commit92d3025521ec8939b66500347f8d38ed5b24e3c8 (patch)
tree49caa68d29d8dea2421c88a674f1773877956dc5 /filter
parent702eb3d389f7525674f0743a46c987bc981394f3 (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 'filter')
-rw-r--r--filter/source/msfilter/msdffimp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index 1728f90553a0..cf802ecbdede 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -3930,9 +3930,9 @@ SdrObject* SvxMSDffManager::ImportGraphic( SvStream& rSt, SfxItemSet& rSet, cons
if ( nBrightness || nContrast || ( nGamma != 0x10000 ) )
aGdiMetaFile.Adjust( nBrightness, (sal_Int16)nContrast, 0, 0, 0, (double)nGamma / 0x10000, false, true );
if ( eDrawMode == GRAPHICDRAWMODE_GREYS )
- aGdiMetaFile.Convert( MTF_CONVERSION_8BIT_GREYS );
+ aGdiMetaFile.Convert( MtfConversion::N8BitGreys );
else if ( eDrawMode == GRAPHICDRAWMODE_MONO )
- aGdiMetaFile.Convert( MTF_CONVERSION_1BIT_THRESHOLD );
+ aGdiMetaFile.Convert( MtfConversion::N1BitThreshold );
aGraf = aGdiMetaFile;
}
break;