diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-08 16:18:32 +0200 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2017-11-28 00:12:55 -0500 |
commit | 2d171734f349c0f9868106f57f5644a70fbeb945 (patch) | |
tree | 1c1317cbac3dd1db72e01df3fa165dc9eb302763 /sc | |
parent | ad885418bf59412fe7a85c86adb1fe2d4e7ae1d0 (diff) |
convert BmpConversion to scoped enum
and drop unused 4BIT_TRANS and 1BIT_MATRIX enumerators
Also fix a bug in x11::convertBitmapDepth where we were incorrectly
passing BmpConversion enumeratirs to ReduceColors
Reviewed-on: https://gerrit.libreoffice.org/34062
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
(cherry picked from commit b5699cd01b6a52906880c107bac6f3802ea7353d)
Change-Id: I903c6866750e46ee752e10a17c05fcaaf6b11242
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/xeescher.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xeescher.cxx b/sc/source/filter/excel/xeescher.cxx index e0eb7775549b..4e73ef26bbbb 100644 --- a/sc/source/filter/excel/xeescher.cxx +++ b/sc/source/filter/excel/xeescher.cxx @@ -400,7 +400,7 @@ void XclExpImgData::Save( XclExpStream& rStrm ) { Bitmap aBmp = maGraphic.GetBitmap(); if( aBmp.GetBitCount() != 24 ) - aBmp.Convert( BMP_CONVERSION_24BIT ); + aBmp.Convert( BmpConversion::N24Bit ); if( BitmapReadAccess* pAccess = aBmp.AcquireReadAccess() ) { |