diff options
author | Winfried Donkers <osc@dci-electronics.nl> | 2012-03-07 17:39:03 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2012-03-09 10:26:29 +0100 |
commit | 0466a30ca52dc531887c75e2d42b007cc83778f3 (patch) | |
tree | 6b3d88c701cac9bf26f3573fe1268b128b13ed6d /sc/source/ui/view | |
parent | cbaabc7323f9c35ee414ef9013e9036d045d84dc (diff) |
fdo#45671 fix for transparent colour split button
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r-- | sc/source/ui/view/formatsh.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx index 61522d6757dc..dc75138a9120 100644 --- a/sc/source/ui/view/formatsh.cxx +++ b/sc/source/ui/view/formatsh.cxx @@ -1435,6 +1435,15 @@ void ScFormatShell::ExecuteAttr( SfxRequest& rReq ) pTabViewShell->ExecuteCellFormatDlg( rReq, TP_FONT ); // wenn ToolBar vertikal break; + case SID_BACKGROUND_COLOR: + { + SvxBrushItem aBrushItem( (const SvxBrushItem&) + pTabViewShell->GetSelectionPattern()->GetItem( ATTR_BACKGROUND ) ); + aBrushItem.SetColor( COL_TRANSPARENT ); + pTabViewShell->ApplyAttr( aBrushItem ); + } + break; + case SID_ATTR_ALIGN_LINEBREAK: // ohne Parameter als Toggle { const ScPatternAttr* pAttrs = pTabViewShell->GetSelectionPattern(); |