summaryrefslogtreecommitdiff
path: root/starmath/source/view.cxx
diff options
context:
space:
mode:
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);
}