14 lines
552 B
Diff
14 lines
552 B
Diff
|
--- sd/source/ui/unoidl/DrawController.cxx 2010-11-11 20:08:58.000000000 +0100
|
||
|
+++ sd/source/ui/unoidl/DrawController.cxx-gil 2011-03-03 15:40:26.000000000 +0100
|
||
|
@@ -166,7 +166,9 @@
|
||
|
{
|
||
|
mbDisposing = true;
|
||
|
|
||
|
- boost::shared_ptr<ViewShell> pViewShell = mpBase->GetMainViewShell();
|
||
|
+ boost::shared_ptr<ViewShell> pViewShell;
|
||
|
+ if (mpBase)
|
||
|
+ pViewShell = mpBase->GetMainViewShell();
|
||
|
if ( pViewShell )
|
||
|
{
|
||
|
pViewShell->DeactivateCurrentFunction();
|