summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/cellsh.cxx
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2002-09-20 09:07:34 +0000
committerNiklas Nebel <nn@openoffice.org>2002-09-20 09:07:34 +0000
commit5e441d65e193e9712617099cc5640eff4501fef8 (patch)
treead27bb0d507c9f708262c5c3a12c558083aef3ab /sc/source/ui/view/cellsh.cxx
parent6579588568a58cfb4251b921570004073ccd3ac9 (diff)
#102955# don't rely on IsMarked at view's MarkData to detect selection
Diffstat (limited to 'sc/source/ui/view/cellsh.cxx')
-rw-r--r--sc/source/ui/view/cellsh.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/view/cellsh.cxx b/sc/source/ui/view/cellsh.cxx
index d80384266648..b80eae117be8 100644
--- a/sc/source/ui/view/cellsh.cxx
+++ b/sc/source/ui/view/cellsh.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: cellsh.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: nn $ $Date: 2002-09-16 16:22:11 $
+ * last change: $Author: nn $ $Date: 2002-09-20 10:07:32 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -302,6 +302,7 @@ void ScCellShell::GetCellState( SfxItemSet& rSet )
case SID_OPENDLG_FUNCTION:
{
ScMarkData aMarkData=GetViewData()->GetMarkData();
+ aMarkData.MarkToSimple();
ScRange aRange;
aMarkData.GetMarkArea(aRange);
if(aMarkData.IsMarked())