https://bugs.documentfoundation.org/show_bug.cgi?id=161182
Justin L <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #7 from Justin L <[email protected]> --- The failure is a generic one in findattr.cxx's CmpAttr return rItem1 == rItem2; The problem is that the ComplexColor we pulled from the dialog is: {meType = model::ColorType::Unused, ... maFinalColor = rgb(0, 0, 0)} even though the basic color from the dialog is maColor = rgb(255, 255, 0) So without getting to the root of the problem, we need something like this: case RES_CHRATR_BACKGROUND: { const SvxBrushItem& rTextHighlight = StaticWhichCast(RES_CHRATR_BACKGROUND) const SvxBrushItem& rDialogHighlight = StaticWhichCast(RES_CHRATR_BACKGROUND) if (rDialogHighlight.getComplexColor().getType() != model::ColorType::Unused) return rItem1 == rItem2; else return rTextHighlight.GetColor() == rDialogHighlight.GetColor(); -- You are receiving this mail because: You are the assignee for the bug.
