summaryrefslogtreecommitdiff
path: root/sd/source/ui
diff options
context:
space:
mode:
authorChristian Lippka <cl@openoffice.org>2002-04-30 10:05:12 +0000
committerChristian Lippka <cl@openoffice.org>2002-04-30 10:05:12 +0000
commit0e1b2e4d5c947f4db88146bdebd35d822b84b9c1 (patch)
tree978f31a9601b8115f843d473e5afc67380a57efd /sd/source/ui
parentf60ddef689fef6e7d7dafdf2c497fff9b5063408 (diff)
#98819# use ColorConfig for grid
Diffstat (limited to 'sd/source/ui')
-rw-r--r--sd/source/ui/docshell/docshell.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/docshell/docshell.cxx b/sd/source/ui/docshell/docshell.cxx
index d8097462a63a..d802d076c46e 100644
--- a/sd/source/ui/docshell/docshell.cxx
+++ b/sd/source/ui/docshell/docshell.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: docshell.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: ka $ $Date: 2001-10-22 13:36:50 $
+ * last change: $Author: cl $ $Date: 2002-04-30 11:05:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -320,7 +320,7 @@ void SdDrawDocShell::GetState(SfxItemSet &rSet)
// Es laeuft ein Effekt in der SlideShow
bDisabled = TRUE;
}
- else if (pViewShell && pViewShell->GetView()->ISA(SdDrawView) &&
+ else if (pViewShell && pViewShell->GetView() && pViewShell->GetView()->ISA(SdDrawView) &&
((SdDrawView*) pViewShell->GetView())->GetSlideShow() &&
((SdDrawView*) pViewShell->GetView())->GetSlideShow()->IsInputLocked())
{