summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdpntv.cxx
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@Sun.COM>2010-02-09 11:33:08 +0100
committerArmin Le Grand <Armin.Le.Grand@Sun.COM>2010-02-09 11:33:08 +0100
commit5f1e3bff24310560c4a3c314bb0cd909d1f423c2 (patch)
treef637a348e1e7a89b0645c15991409f3343674f3f /svx/source/svdraw/svdpntv.cxx
parent2bb7512e2923c860fa6d6bb55dcb000737f3a7ec (diff)
aw079 #i99386# finer granular changes for MPBGO removal
Diffstat (limited to 'svx/source/svdraw/svdpntv.cxx')
-rw-r--r--svx/source/svdraw/svdpntv.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdpntv.cxx b/svx/source/svdraw/svdpntv.cxx
index 8c46e1d06bb6..2d04301433e9 100644
--- a/svx/source/svdraw/svdpntv.cxx
+++ b/svx/source/svdraw/svdpntv.cxx
@@ -335,7 +335,7 @@ void __EXPORT SdrPaintView::Notify(SfxBroadcaster& /*rBC*/, const SfxHint& rHint
if (eKind==HINT_PAGEORDERCHG) {
const SdrPage* pPg=pSdrHint->GetPage();
- if(!pPg->IsInserted())
+ if(pPg && !pPg->IsInserted())
{
if(mpPageView && mpPageView->GetPage() == pPg)
{