From 19a906f09688f06ee90cac2a50126aeba749a331 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 19 Feb 2018 16:11:15 +0200 Subject: drop Color::SetColor(ColorData) in favour of operator= first stage of getting rid of ColorData Change-Id: I5e4e95eb958722814c43c8d1ebfef17ad18c29ec Reviewed-on: https://gerrit.libreoffice.org/49997 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- sc/qa/unit/ucalc.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/qa') diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx index 29c16f6e8243..df70447d3c4d 100644 --- a/sc/qa/unit/ucalc.cxx +++ b/sc/qa/unit/ucalc.cxx @@ -4407,7 +4407,7 @@ void Test::testSetBackgroundColor() aColor, m_pDoc->GetTabBgColor(0)); Color aOldTabBgColor=m_pDoc->GetTabBgColor(0); - aColor.SetColor(COL_BLUE);//set BLUE + aColor = COL_BLUE; getDocShell().GetDocFunc().SetTabBgColor(0,aColor,false, true); CPPUNIT_ASSERT_EQUAL_MESSAGE("the correct color is not set the second time", aColor, m_pDoc->GetTabBgColor(0)); -- cgit v1.2.3