diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/tabvwsh2.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sc/source/ui/view/tabvwsh2.cxx b/sc/source/ui/view/tabvwsh2.cxx index 76ea68ec958f..e24091c78eec 100644 --- a/sc/source/ui/view/tabvwsh2.cxx +++ b/sc/source/ui/view/tabvwsh2.cxx @@ -249,6 +249,8 @@ void ScTabViewShell::ExecDraw(SfxRequest& rReq) SfxRequest aNewReq(rReq); aNewReq.SetSlot(nDrawSfxId); + assert(nNewId != SID_DRAW_CHART); //#i71254# handled already above + switch (nNewId) { case SID_OBJECT_SELECT: @@ -296,10 +298,6 @@ void ScTabViewShell::ExecDraw(SfxRequest& rReq) nFormSfxId = nNewFormId; break; - case SID_DRAW_CHART: - pTabView->SetDrawFuncPtr(new FuMarkRect(this, pWin, pView, pDoc, aNewReq)); - break; - case SID_DRAWTBX_CS_BASIC : case SID_DRAWTBX_CS_SYMBOL : case SID_DRAWTBX_CS_ARROW : |