Kaydet (Commit) e44fffb1 authored tarafından Oliver Bolte's avatar Oliver Bolte

INTEGRATION: CWS sj18 (1.30.522); FILE MERGED

2005/04/29 14:34:47 cl 1.30.522.1: #i48457# don't use pPage if its 0
üst 0c147331
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: unopage.cxx,v $ * $RCSfile: unopage.cxx,v $
* *
* $Revision: 1.30 $ * $Revision: 1.31 $
* *
* last change: $Author: kz $ $Date: 2004-10-04 17:56:20 $ * last change: $Author: obo $ $Date: 2005-05-06 09:29:35 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -823,7 +823,7 @@ SvxShape* SvxDrawPage::CreateShapeByTypeAndInventor( sal_uInt16 nType, sal_uInt3 ...@@ -823,7 +823,7 @@ SvxShape* SvxDrawPage::CreateShapeByTypeAndInventor( sal_uInt16 nType, sal_uInt3
case OBJ_OLE2: case OBJ_OLE2:
{ {
#ifndef SVX_LIGHT #ifndef SVX_LIGHT
if( pObj && !pObj->IsEmptyPresObj() ) if( pObj && !pObj->IsEmptyPresObj() && pPage )
{ {
SfxObjectShell *pPersist = pPage->GetSdrPage()->GetModel()->GetPersist(); SfxObjectShell *pPersist = pPage->GetSdrPage()->GetModel()->GetPersist();
if( pPersist ) if( pPersist )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment