diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2018-03-23 18:17:31 +0100 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2018-03-23 20:48:41 +0100 |
commit | 154496aefe67b81f80d7c08d12bfb145eddb93ac (patch) | |
tree | f986989c31b4d66f545e91b5cd7b0fda6686a8e2 /sc/source/ui/view/output.cxx | |
parent | 524cf62841783b88fe2fd5d68c0c151232880269 (diff) |
Revert "tdf#116241 Customizing value highlighting colors"
This reverts commit fb29b8262488d045a926504725669a362bacb5bb.
Change-Id: I338af7c108bb6386193550ef0603b406c4f7bd99
Reaseon: I will move this to more suitable place "application colors" and extend with protected cell backround.
Reviewed-on: https://gerrit.libreoffice.org/51789
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'sc/source/ui/view/output.cxx')
-rw-r--r-- | sc/source/ui/view/output.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sc/source/ui/view/output.cxx b/sc/source/ui/view/output.cxx index 0e322ceca8ab..a5bf884681ad 100644 --- a/sc/source/ui/view/output.cxx +++ b/sc/source/ui/view/output.cxx @@ -61,7 +61,6 @@ #include <scmod.hxx> #include <appoptio.hxx> #include <postit.hxx> -#include <viewopti.hxx> #include <scresid.hxx> #include <colorscale.hxx> @@ -296,10 +295,9 @@ void ScOutputData::SetSyntaxMode( bool bNewMode ) if (bNewMode) if (!pValueColor) { - const ScViewOptions& rOptions = mpDoc->GetViewOptions(); - pValueColor = new Color(rOptions.GetValueColor()); - pTextColor = new Color(rOptions.GetTextColor()); - pFormulaColor = new Color(rOptions.GetFormulaColor()); + pValueColor = new Color(COL_LIGHTBLUE); + pTextColor = new Color(COL_BLACK); + pFormulaColor = new Color(COL_GREEN); } } |