summaryrefslogtreecommitdiff
path: root/sd/source/ui
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-01 13:17:19 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-01 13:17:19 +0000
commitd4a28df1386a228c420ae963e1c850fec48f8554 (patch)
treea1c458ddb9d80d206c303876310398dc8ca94bf3 /sd/source/ui
parentf9db522716b54296fb88895df8d548fed1ada679 (diff)
INTEGRATION: CWS impress109 (1.46.22); FILE MERGED
2006/10/10 15:06:22 cl 1.46.22.1: #134177# check if draw view is 0 before using it
Diffstat (limited to 'sd/source/ui')
-rw-r--r--sd/source/ui/view/drviews2.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx
index a2cc979106dd..acd28ef5ca8b 100644
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: drviews2.cxx,v $
*
- * $Revision: 1.46 $
+ * $Revision: 1.47 $
*
- * last change: $Author: obo $ $Date: 2006-09-16 19:36:25 $
+ * last change: $Author: vg $ $Date: 2006-11-01 14:17:19 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -239,6 +239,10 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
rReq.GetSlot() != SID_NAVIGATOR)
return;
+ DBG_ASSERT( pDrView, "sd::DrawViewShell::FuTemporary(), no draw view!" );
+ if( !pDrView )
+ return;
+
CheckLineTo (rReq);
DeactivateCurrentFunction();