summaryrefslogtreecommitdiff
path: root/starmath/source/tmpdevice.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-06 13:08:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-07 07:10:22 +0100
commit26a016be816826c80fc914a927758a814f29136c (patch)
treea9737eb927d6d23264ed818ba2d1c2d79dac4307 /starmath/source/tmpdevice.cxx
parent9a97b9c051735afb3797888d111f1b6b2cab1a83 (diff)
use more Color in sfx2..svtools
Change-Id: Idd951841ce7e9c4b4e5229bc24efe5c7b8042617 Reviewed-on: https://gerrit.libreoffice.org/50817 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.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/tmpdevice.cxx b/starmath/source/tmpdevice.cxx
index a6bb67a7d77f..231204ea4631 100644
--- a/starmath/source/tmpdevice.cxx
+++ b/starmath/source/tmpdevice.cxx
@@ -45,7 +45,7 @@ SmTmpDevice::SmTmpDevice(OutputDevice &rTheDev, bool bUseMap100th_mm) :
Color SmTmpDevice::Impl_GetColor( const Color& rColor )
{
- Color nNewCol = rColor.GetColor();
+ Color nNewCol = rColor;
if (nNewCol == COL_AUTO)
{
if (OUTDEV_PRINTER == rOutDev.GetOutDevType())