diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-09-18 06:30:06 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-09-18 09:02:20 +0200 |
commit | 61f6bfca7bd55dd8a9cfdd1f966e0da53a3101b3 (patch) | |
tree | 7e637b66804bed3af72af059a8b7bb7a364637d7 /sc | |
parent | 8ed8bb24b5300267f83be9ff537599537ffa4cb0 (diff) |
use light red as error color
Change-Id: Ia16b683c47743a921e70ce1bb7f37724e4ad7c9d
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/condformat/condformatdlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/condformat/condformatdlg.cxx b/sc/source/ui/condformat/condformatdlg.cxx index 2ed673803207..3be5bc2ba239 100644 --- a/sc/source/ui/condformat/condformatdlg.cxx +++ b/sc/source/ui/condformat/condformatdlg.cxx @@ -836,7 +836,7 @@ IMPL_LINK_NOARG(ScCondFrmtEntry, TypeListHdl) SetHeight(); return 0; } -#include <iostream> + IMPL_LINK(ScCondFrmtEntry, EdModifyHdl, Edit*, pEdit) { rtl::OUString aFormula = pEdit->GetText(); @@ -845,7 +845,7 @@ IMPL_LINK(ScCondFrmtEntry, EdModifyHdl, Edit*, pEdit) boost::scoped_ptr<ScTokenArray> mpCode(aComp.CompileString(aFormula)); if(mpCode->GetCodeError()) { - pEdit->SetControlBackground(COL_RED); + pEdit->SetControlBackground(COL_LIGHTRED); } else { |