summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-04-18 10:49:31 +0000
committerRüdiger Timm <rt@openoffice.org>2008-04-18 10:49:31 +0000
commit9701d33b2efe12412054ebe01670984932625a11 (patch)
treece078ac534ba72a509ae60b0d810290dfa371965 /sc
parentf000dcc9fa54a0528d58446eef41d7d957820ca1 (diff)
INTEGRATION: CWS filteredrows (1.12.64); FILE MERGED
2008/03/19 18:31:54 er 1.12.64.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')
-rw-r--r--sc/source/ui/view/tabvwshe.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabvwshe.cxx b/sc/source/ui/view/tabvwshe.cxx
index ebff1f396c6e..8eafd476d00d 100644
--- a/sc/source/ui/view/tabvwshe.cxx
+++ b/sc/source/ui/view/tabvwshe.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: tabvwshe.cxx,v $
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
* This file is part of OpenOffice.org.
*
@@ -70,7 +70,7 @@ String __EXPORT ScTabViewShell::GetSelectionText( BOOL bWholeWord )
{
ScRange aRange;
- if ( GetViewData()->GetSimpleArea( aRange ) )
+ if ( GetViewData()->GetSimpleArea( aRange ) == SC_MARK_SIMPLE )
{
ScDocument* pDoc = GetViewData()->GetDocument();
if ( bInFormatDialog && aRange.aStart.Row() != aRange.aEnd.Row() )