diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-20 15:22:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-21 06:05:41 +0100 |
commit | 72593849bb644684a8c00f70a3f18bcfabca737f (patch) | |
tree | 6325d6a52bce0f0539dde6fee53aa7fd792e8eb2 /starmath/source/tmpdevice.cxx | |
parent | bcb1e01c32e09d9abeb91b73303f2eb6b3b5abfe (diff) |
ColorData->Color in sd..svx
Change-Id: I70de56b6bfb1ea4655ec03510fad92bf6645f64e
Reviewed-on: https://gerrit.libreoffice.org/50046
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/source/tmpdevice.cxx')
-rw-r--r-- | starmath/source/tmpdevice.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/tmpdevice.cxx b/starmath/source/tmpdevice.cxx index e47bc1b72ffb..3e822a3f7854 100644 --- a/starmath/source/tmpdevice.cxx +++ b/starmath/source/tmpdevice.cxx @@ -45,8 +45,8 @@ SmTmpDevice::SmTmpDevice(OutputDevice &rTheDev, bool bUseMap100th_mm) : Color SmTmpDevice::Impl_GetColor( const Color& rColor ) { - ColorData nNewCol = rColor.GetColor(); - if (COL_AUTO == nNewCol) + Color nNewCol = rColor.GetColor(); + if (nNewCol == COL_AUTO) { if (OUTDEV_PRINTER == rOutDev.GetOutDevType()) nNewCol = COL_BLACK; |