From e2cb154195fdc2ffccdb6f5e87cae8b29640b3eb Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 26 Feb 2018 17:13:01 +0200 Subject: convert COL_ constants to be of type Color Change-Id: I0e25c8950ac26b851ff42f71e1471fcbe4770d48 Reviewed-on: https://gerrit.libreoffice.org/50373 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- sfx2/source/control/templateviewitem.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfx2') diff --git a/sfx2/source/control/templateviewitem.cxx b/sfx2/source/control/templateviewitem.cxx index bbb2a2d30c99..49c495d74894 100644 --- a/sfx2/source/control/templateviewitem.cxx +++ b/sfx2/source/control/templateviewitem.cxx @@ -94,7 +94,7 @@ void TemplateViewItem::Paint(drawinglayer::processor2d::BaseProcessor2D *pProces aBounds.setClosed(true); aSeq[1] = drawinglayer::primitive2d::Primitive2DReference( new PolyPolygonColorPrimitive2D( - B2DPolyPolygon(aBounds), Color(COL_WHITE).getBColor())); + B2DPolyPolygon(aBounds), COL_WHITE.getBColor())); aSeq[2] = drawinglayer::primitive2d::Primitive2DReference( new FillGraphicPrimitive2D( createTranslateB2DHomMatrix(maPrev1Pos.X(),maPrev1Pos.Y()), -- cgit