diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-04-18 10:49:02 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-04-18 10:49:02 +0000 |
commit | 69640f7b5f45f0674b640d7c7143d00cc3675a69 (patch) | |
tree | 3436e9047a8ff14efd03f86caecf5f2678743bbf /sc/source/ui/view/tabvwsh4.cxx | |
parent | 5cc4050c4a3f4ac6987c2bed6acb1848295a5117 (diff) |
INTEGRATION: CWS filteredrows (1.73.4); FILE MERGED
2008/03/20 16:19:13 er 1.73.4.2: #i33851# re-enable CopyToClip for filtered, using the existing mechanisms
2008/03/19 18:31:54 er 1.73.4.1: #i33851# first wave: treat filtered simple area selection as if it was a multi-selection, effectively disabling all operations that are not supported for a multi-selection
Diffstat (limited to 'sc/source/ui/view/tabvwsh4.cxx')
-rw-r--r-- | sc/source/ui/view/tabvwsh4.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx index e85f2d391af9..9b51b01f9aeb 100644 --- a/sc/source/ui/view/tabvwsh4.cxx +++ b/sc/source/ui/view/tabvwsh4.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: tabvwsh4.cxx,v $ - * $Revision: 1.74 $ + * $Revision: 1.75 $ * * This file is part of OpenOffice.org. * @@ -1523,7 +1523,9 @@ BOOL ScTabViewShell::TabKeyInput(const KeyEvent& rKEvt) if ( eFunc == KEYFUNC_COPY || eFunc == KEYFUNC_CUT ) { ScRange aDummy; - if ( !GetViewData()->GetSimpleArea( aDummy ) ) + ScMarkType eMarkType = GetViewData()->GetSimpleArea( aDummy ); + if ( eMarkType != SC_MARK_SIMPLE && + !(eFunc == KEYFUNC_COPY && eMarkType == SC_MARK_SIMPLE_FILTERED) ) { ErrorMessage(STR_NOMULTISELECT); bUsed = TRUE; |