From ee77e4a776de74de06ffb51ebe3a9f597e532e8a Mon Sep 17 00:00:00 2001 From: Ivan Timofeev Date: Tue, 6 Mar 2012 19:26:34 +0400 Subject: repair the "No Fill" button which sets a transparent background in Writer see commit 836d98646203e0d9d3916571ed55d6572c2cb3dc --- sw/source/ui/shells/basesh.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sw') diff --git a/sw/source/ui/shells/basesh.cxx b/sw/source/ui/shells/basesh.cxx index b700bf7ccd58..e78f2a37a86e 100644 --- a/sw/source/ui/shells/basesh.cxx +++ b/sw/source/ui/shells/basesh.cxx @@ -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; -- cgit