summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-01 13:17:47 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-01 13:17:47 +0000
commitc16b502a36229b73336cb6a1c714a23be2b392e8 (patch)
treec74d617d90c1cf94ed3e4e9b29fd495bd6752a31 /sd
parent7521ba9de9a568e853fe24be8a4b88fb89f4ddb7 (diff)
INTEGRATION: CWS impress109 (1.61.20); FILE MERGED
2006/10/10 15:06:22 cl 1.61.20.1: #134177# check if draw view is 0 before using it
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/drviewse.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/sd/source/ui/view/drviewse.cxx b/sd/source/ui/view/drviewse.cxx
index 964cb3094f8c..bc3de1811f7f 100644
--- a/sd/source/ui/view/drviewse.cxx
+++ b/sd/source/ui/view/drviewse.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: drviewse.cxx,v $
*
- * $Revision: 1.61 $
+ * $Revision: 1.62 $
*
- * last change: $Author: obo $ $Date: 2006-09-16 19:39:08 $
+ * last change: $Author: vg $ $Date: 2006-11-01 14:17:47 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -310,6 +310,9 @@ void DrawViewShell::FuPermanent(SfxRequest& rReq)
USHORT nOldSId = 0;
BOOL bPermanent = FALSE;
+ if( !pDrView )
+ return;
+
if(HasCurrentFunction())
{
if(GetOldFunction() == GetCurrentFunction())
@@ -748,6 +751,9 @@ void DrawViewShell::FuSupport(SfxRequest& rReq)
CheckLineTo (rReq);
+ if( !pDrView )
+ return;
+
USHORT nSId = rReq.GetSlot();
// Slot wird evtl. gemapped (ToolboxImages/-Slots)