diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2004-11-26 19:29:54 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2004-11-26 19:29:54 +0000 |
commit | e43948544c9758204b2df3e3729e8e35e7dba011 (patch) | |
tree | e21ab10663ae58f03db6dbf688de8f02d3ab41b4 /sd | |
parent | 57f1b6c919609abf4e6cfff81926d1b1ec8c4da5 (diff) |
INTEGRATION: CWS presentationengine01 (1.3.12); FILE MERGED
2004/08/31 14:50:01 af 1.3.12.1: #i33627# Ignoring the SID_TASK_PANE slot.
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/GraphicViewShellBase.cxx | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/sd/source/ui/view/GraphicViewShellBase.cxx b/sd/source/ui/view/GraphicViewShellBase.cxx index c5ce336016f2..0ef1ad9b18d4 100644 --- a/sd/source/ui/view/GraphicViewShellBase.cxx +++ b/sd/source/ui/view/GraphicViewShellBase.cxx @@ -2,9 +2,9 @@ * * $RCSfile: GraphicViewShellBase.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: rt $ $Date: 2004-07-13 14:50:17 $ + * last change: $Author: rt $ $Date: 2004-11-26 20:29:54 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -69,6 +69,11 @@ #include "GraphicDocShell.hxx" #endif #include "strings.hrc" +#include "app.hrc" + +#ifndef _SFXREQUEST_HXX +#include <sfx2/request.hxx> +#endif namespace sd { @@ -135,5 +140,28 @@ GraphicViewShellBase::~GraphicViewShellBase (void) { } + + + +void GraphicViewShellBase::Execute (SfxRequest& rRequest) +{ + USHORT nSlotId = rRequest.GetSlot(); + + switch (nSlotId) + { + case SID_TASK_PANE: + // Since there is no tool panel in Draw we ignore this call. + rRequest.Cancel(); + break; + + default: + // The remaining requests are forwarded to out base class. + ViewShellBase::Execute (rRequest); + break; + } + +} + + } // end of namespace sd |