diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-03-06 19:26:34 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-03-06 19:59:45 +0400 |
commit | ee77e4a776de74de06ffb51ebe3a9f597e532e8a (patch) | |
tree | d6b48b7a3bb4f9a8dd0cccfbc7f371c752406a58 /sw | |
parent | f57e65477038e0151e1d69599351173ed2fdd044 (diff) |
repair the "No Fill" button which sets a transparent background in Writer
see commit 836d98646203e0d9d3916571ed55d6572c2cb3dc
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/shells/basesh.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
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; |