summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2001-03-08 17:07:03 +0000
committerNiklas Nebel <nn@openoffice.org>2001-03-08 17:07:03 +0000
commitfcb6f2863b3b7369463bf3a5ab1b1c6e2b45bacd (patch)
tree76757c9317d8dacf2504faccdea40a931551ec9a /sc
parent74129d4fbb134710d9cecd5ff289cfd3df007095 (diff)
#84669# don't stop draw sub shells when switching draw tools
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/tabvwsh2.cxx15
1 files changed, 5 insertions, 10 deletions
diff --git a/sc/source/ui/view/tabvwsh2.cxx b/sc/source/ui/view/tabvwsh2.cxx
index d8d1292ca..7ff77dd44 100644
--- a/sc/source/ui/view/tabvwsh2.cxx
+++ b/sc/source/ui/view/tabvwsh2.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: tabvwsh2.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: nn $ $Date: 2001-03-02 21:05:48 $
+ * last change: $Author: nn $ $Date: 2001-03-08 18:07:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -421,15 +421,10 @@ void ScTabViewShell::ExecDraw(SfxRequest& rReq)
SetDrawTextShell( TRUE );
else
{
- if (bEx)
- {
- SetDrawShell( TRUE );
- }
+ if ( bEx || pView->GetMarkList().GetMarkCount() != 0 )
+ SetDrawShellOrSub();
else
- {
- SetDrawShell( pView->GetMarkList().GetMarkCount() != 0 );
- nCtrlSfxId = USHRT_MAX;// hier pfuschte JN
- }
+ SetDrawShell( FALSE );
}
}