cui/source/tabpages/border.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit e0a641f863be91c5407dac5fc58edc33b5703116 Author: Nickson Thanda <nicksonthand...@msn.com> Date: Wed Apr 4 01:52:25 2018 +0100 tdf#88961 table line style color visible when color is white If the selected color is white, then display the line styles in black else, display the line style in the selected color Change-Id: Iff21abcf5c2a6d007e154b87d7fa42a673fa00fa Reviewed-on: https://gerrit.libreoffice.org/52355 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> diff --git a/cui/source/tabpages/border.cxx b/cui/source/tabpages/border.cxx index 6d5f8e00b661..96ffc5c5658c 100644 --- a/cui/source/tabpages/border.cxx +++ b/cui/source/tabpages/border.cxx @@ -922,7 +922,10 @@ IMPL_LINK(SvxBorderTabPage, SelColHdl_Impl, SvxColorListBox&, rColorBox, void) { Color aColor = rColorBox.GetSelectEntryColor(); m_pFrameSel->SetColorToSelection(aColor); - m_pLbLineStyle->SetColor(aColor); + if(aColor == COL_WHITE) + m_pLbLineStyle->SetColor(COL_BLACK); + else + m_pLbLineStyle->SetColor(aColor); } IMPL_LINK_NOARG(SvxBorderTabPage, ModifyWidthHdl_Impl, Edit&, void) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits