repair the "No Fill" button which sets a transparent background in Writer

see commit 836d986462
This commit is contained in:
Ivan Timofeev
2012-03-06 19:26:34 +04:00
parent f57e654770
commit ee77e4a776

View File

@@ -2263,6 +2263,11 @@ void SwBaseShell::ExecBckCol(SfxRequest& rReq)
aBrushItem.SetColor( rNewColor );
GetView().GetViewFrame()->GetBindings().SetState(rNewColorItem);
}
else
{
aBrushItem.SetColor( COL_TRANSPARENT );
rReq.AppendItem( SvxColorItem( Color( COL_TRANSPARENT ), nSlot ) );
}
}
break;