summaryrefslogtreecommitdiff
path: root/starmath/source/view.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-20 15:22:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-21 06:05:41 +0100
commit72593849bb644684a8c00f70a3f18bcfabca737f (patch)
tree6325d6a52bce0f0539dde6fee53aa7fd792e8eb2 /starmath/source/view.cxx
parentbcb1e01c32e09d9abeb91b73303f2eb6b3b5abfe (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/view.cxx')
-rw-r--r--starmath/source/view.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index e007b78b0cab..fbd977d07ff2 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -133,7 +133,7 @@ void SmGraphicWindow::ApplyColorConfigValues(const svtools::ColorConfig &rColorC
{
// Note: SetTextColor not necessary since the nodes that
// get painted have the color information.
- SetBackground(Color(static_cast<ColorData>(rColorCfg.GetColorValue(svtools::DOCCOLOR).nColor)));
+ SetBackground(rColorCfg.GetColorValue(svtools::DOCCOLOR).nColor);
}