diff options
author | Winfried Donkers <osc@dci-electronics.nl> | 2012-03-01 13:41:14 +0100 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-03-01 16:57:34 +0200 |
commit | 085e8a07e61ef2d3a82e11094d8773ab17cfdb3c (patch) | |
tree | 01256813b384c338882f0386ff9fc46644d99d5d /sw | |
parent | 54442c917d7bb6b2e955c8c8315e0352dc6d2281 (diff) |
fdo#45671 calc cell background color simplified code for split button
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/docvw/edtwin.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx index df44378cbad8..19bdf865aed3 100644 --- a/sw/source/ui/docvw/edtwin.cxx +++ b/sw/source/ui/docvw/edtwin.cxx @@ -4340,11 +4340,13 @@ void SwEditWin::MouseButtonUp(const MouseEvent& rMEvt) switch( pApplyTempl->nColor ) { case SID_ATTR_CHAR_COLOR_EXT: + case SID_ATTR_CHAR_COLOR2: nId = RES_CHRATR_COLOR; - break; + break; case SID_ATTR_CHAR_COLOR_BACKGROUND_EXT: + case SID_ATTR_CHAR_COLOR_BACKGROUND: nId = RES_CHRATR_BACKGROUND; - break; + break; } if( nId && (nsSelectionType::SEL_TXT|nsSelectionType::SEL_TBL) & eSelection) { |