diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2008-02-19 14:38:14 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2008-02-19 14:38:14 +0000 |
commit | 7678b1add8b929b4236c67e300aea63329fc147d (patch) | |
tree | cc3e8d0ef69b7153517c610f85cb10c7583285b1 /sc/source/ui/view/tabview5.cxx | |
parent | ade525449ce90ac27eb4280ff7caf5ef92b49293 (diff) |
INTEGRATION: CWS calcselection (1.22.84); FILE MERGED
2008/02/13 13:56:00 nn 1.22.84.1: #i86069# transparent cell selection
Diffstat (limited to 'sc/source/ui/view/tabview5.cxx')
-rw-r--r-- | sc/source/ui/view/tabview5.cxx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabview5.cxx b/sc/source/ui/view/tabview5.cxx index 79dc392441e5..ca12179225a4 100644 --- a/sc/source/ui/view/tabview5.cxx +++ b/sc/source/ui/view/tabview5.cxx @@ -4,9 +4,9 @@ * * $RCSfile: tabview5.cxx,v $ * - * $Revision: 1.22 $ + * $Revision: 1.23 $ * - * last change: $Author: ihi $ $Date: 2007-11-21 19:11:57 $ + * last change: $Author: rt $ $Date: 2008-02-19 15:38:14 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -159,6 +159,16 @@ void __EXPORT ScTabView::Init() // Das gilt auch fuer ViewOptionsHasChanged() TestHintWindow(); + + UpdateSelectionType(); +} + +void ScTabView::UpdateSelectionType() +{ + // old selection in high contrast mode, or if transparent drawing isn't supported + + bOldSelection = pFrameWin->GetSettings().GetStyleSettings().GetHighContrastMode() || + !pFrameWin->supportsOperation( OutDevSupport_TransparentRect ); } __EXPORT ScTabView::~ScTabView() |