diff options
author | sj <sj@openoffice.org> | 2010-07-13 17:26:23 +0200 |
---|---|---|
committer | sj <sj@openoffice.org> | 2010-07-13 17:26:23 +0200 |
commit | 3287410fadd9d8490ae6b69398a7764ca4110d1c (patch) | |
tree | 341d81afe5a1980a9d3be9f1340a531423f2ecba /filter | |
parent | fea4f71bcd4727fe0b445990d062fa4bc12dc18d (diff) |
impress194: #111699# applied patch (PPTTextObj::PPTTextObj with null field)
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/msfilter/svdfppt.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx index 747306f81677..f334c86bbc5f 100644 --- a/filter/source/msfilter/svdfppt.cxx +++ b/filter/source/msfilter/svdfppt.cxx @@ -7122,6 +7122,10 @@ PPTTextObj::PPTTextObj( SvStream& rIn, SdrPowerPointImport& rSdrPowerPointImport PPTCharPropSet* pCurrent = (PPTCharPropSet*)aCharPropList.GetObject( nIdx ); sal_Int32 nNextStringLen = pCurrent->maString.Len(); + DBG_ASSERT( pFE->pField1, "missing field!" ); + if (!pFE->pField1) + break; + const SvxURLField* pField = (const SvxURLField*)pFE->pField1->GetField(); if ( pCurrent->mpFieldItem ) |