From 3cf91a21fc5089fb7f051bf8a04d2049da88179f Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Fri, 31 Aug 2012 04:25:47 +0200 Subject: use Red as error color for cond format dlg Change-Id: I1526a8d1f2999742f28600e771891e1489d62f4b --- sc/source/ui/condformat/condformatdlg.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc/source') diff --git a/sc/source/ui/condformat/condformatdlg.cxx b/sc/source/ui/condformat/condformatdlg.cxx index a84103c08e42..1f9d638599cd 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 IMPL_LINK(ScCondFrmtEntry, EdModifyHdl, Edit*, pEdit) { rtl::OUString aFormula = pEdit->GetText(); @@ -845,7 +845,7 @@ IMPL_LINK(ScCondFrmtEntry, EdModifyHdl, Edit*, pEdit) boost::scoped_ptr mpCode(aComp.CompileString(aFormula)); if(mpCode->GetCodeError()) { - pEdit->SetControlBackground(GetSettings().GetStyleSettings().GetHighlightColor()); + pEdit->SetControlBackground(COL_RED); } else { -- cgit