summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-08-31 04:25:47 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-08-31 15:50:15 +0200
commit3cf91a21fc5089fb7f051bf8a04d2049da88179f (patch)
tree10b9df167fcab4d893a0eb04ec277e7a8f56b16c /sc
parenta3c4ee1653166ee2ac1f1b9d65ff1065b6288ebc (diff)
use Red as error color for cond format dlg
Change-Id: I1526a8d1f2999742f28600e771891e1489d62f4b
Diffstat (limited to 'sc')
-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
{