summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/condformat/condformatdlg.cxx4
1 files changed, 2 insertions, 2 deletions
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 <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(GetSettings().GetStyleSettings().GetHighlightColor());
+ pEdit->SetControlBackground(COL_RED);
}
else
{