diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-07 08:42:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-07 08:35:04 +0100 |
commit | a498b12dc1723b072a165f8c528c377024fd4c98 (patch) | |
tree | c52b7d01cd95176d345b4ad0bf417edc4c499d26 /filter/source/msfilter/msdffimp.cxx | |
parent | tdf#116108 Add option to fit images into their cell (diff) | |
download | core-a498b12dc1723b072a165f8c528c377024fd4c98.tar.gz core-a498b12dc1723b072a165f8c528c377024fd4c98.zip |
use more Color in editeng..forms
Change-Id: If6c862e7bb61cd78c3379afde11b528a74162900
Reviewed-on: https://gerrit.libreoffice.org/50860
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter/source/msfilter/msdffimp.cxx')
-rw-r--r-- | filter/source/msfilter/msdffimp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx index 5cf0b9f90d8b..794aa8a4a59b 100644 --- a/filter/source/msfilter/msdffimp.cxx +++ b/filter/source/msfilter/msdffimp.cxx @@ -1379,7 +1379,7 @@ void DffPropertyReader::ApplyFillAttributes( SvStream& rIn, SfxItemSet& rSet, co else aReadColor = pRead->GetPixelFromData(pScanlineRead, x).GetColor(); - if (aReadColor.GetColor() == 0) + if (aReadColor == Color(0)) aResult.SetPixel(y, x, aCol2); else aResult.SetPixel(y, x, aCol1); |