diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2016-02-19 17:31:12 +0900 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-02-19 11:43:13 +0000 |
commit | 75da70ccbf7946d3c8de2572d98c2f9cf534b751 (patch) | |
tree | 46cace1d39be91721b2961b4b0e44b6fd403512c /starmath/source/view.cxx | |
parent | 778e9a65bf5af07c4caeff969a0324e43a78e66b (diff) |
starmath: Avoid C-style cast
Change-Id: I96efea344dc4ec5c1f20060bb51ea5e853113c9c
Reviewed-on: https://gerrit.libreoffice.org/22497
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'starmath/source/view.cxx')
-rw-r--r-- | starmath/source/view.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index f247fa83ac14..28084483f083 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -146,7 +146,7 @@ void SmGraphicWindow::ApplyColorConfigValues(const svtools::ColorConfig &rColorC #if OSL_DEBUG_LEVEL > 1 // ColorData nVal = rColorCfg.GetColorValue(svtools::DOCCOLOR).nColor; #endif - SetBackground(Color( (ColorData) rColorCfg.GetColorValue(svtools::DOCCOLOR).nColor)); + SetBackground(Color(static_cast<ColorData>(rColorCfg.GetColorValue(svtools::DOCCOLOR).nColor))); } |