summaryrefslogtreecommitdiff
path: root/sc/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-19 16:11:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-20 07:19:16 +0100
commit19a906f09688f06ee90cac2a50126aeba749a331 (patch)
tree66320878bd537b646f06afdbf2d2409e961f3024 /sc/qa
parenta7ee3cc31331353d307e4b7aaf7fe88721df6470 (diff)
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 <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/qa')
-rw-r--r--sc/qa/unit/ucalc.cxx2
1 files changed, 1 insertions, 1 deletions
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));