summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviews6.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-01 13:17:33 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-01 13:17:33 +0000
commit7521ba9de9a568e853fe24be8a4b88fb89f4ddb7 (patch)
treea4fa9aa02f52890e9a545a4893c6de5395391248 /sd/source/ui/view/drviews6.cxx
parentd4a28df1386a228c420ae963e1c850fec48f8554 (diff)
INTEGRATION: CWS impress109 (1.23.22); FILE MERGED
2006/10/10 15:06:22 cl 1.23.22.1: #134177# check if draw view is 0 before using it
Diffstat (limited to 'sd/source/ui/view/drviews6.cxx')
-rw-r--r--sd/source/ui/view/drviews6.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/view/drviews6.cxx b/sd/source/ui/view/drviews6.cxx
index fd3a5d72c4e7..855ae0682800 100644
--- a/sd/source/ui/view/drviews6.cxx
+++ b/sd/source/ui/view/drviews6.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: drviews6.cxx,v $
*
- * $Revision: 1.23 $
+ * $Revision: 1.24 $
*
- * last change: $Author: obo $ $Date: 2006-09-16 19:37:21 $
+ * last change: $Author: vg $ $Date: 2006-11-01 14:17:33 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -170,7 +170,7 @@ void DrawViewShell::ExecFormText(SfxRequest& rReq)
const SdrMarkList& rMarkList = pDrView->GetMarkedObjectList();
if ( rMarkList.GetMarkCount() == 1 && rReq.GetArgs() &&
- !pDrView->IsPresObjSelected() )
+ pDrView && !pDrView->IsPresObjSelected() )
{
const SfxItemSet& rSet = *rReq.GetArgs();
const SfxPoolItem* pItem;