summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
Diffstat (limited to 'formula')
-rw-r--r--formula/source/ui/dlg/funcutl.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/formula/source/ui/dlg/funcutl.cxx b/formula/source/ui/dlg/funcutl.cxx
index 1091d07f4159..8cb281f58bc9 100644
--- a/formula/source/ui/dlg/funcutl.cxx
+++ b/formula/source/ui/dlg/funcutl.cxx
@@ -484,8 +484,14 @@ void RefEdit::SetRefValid(bool bValid)
}
else
{
+#if 0
+ // Setting background color has no effect here so we'd end up with
+ // white on white!
SetControlForeground(COL_WHITE);
SetControlBackground(0xff6563);
+#else
+ SetControlForeground( ::Color( RGB_COLORDATA( 0xf0, 0, 0)));
+#endif
}
}