summaryrefslogtreecommitdiffstats
path: root/sw
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-03-06 19:26:34 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-03-06 19:59:45 +0400
commitee77e4a776de74de06ffb51ebe3a9f597e532e8a (patch)
treed6b48b7a3bb4f9a8dd0cccfbc7f371c752406a58 /sw
parentfdo#45671 writer par. bg color simplified code (diff)
downloadcore-ee77e4a776de74de06ffb51ebe3a9f597e532e8a.tar.gz
core-ee77e4a776de74de06ffb51ebe3a9f597e532e8a.zip
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.cxx5
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;