summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsj <sj@openoffice.org>2010-11-23 10:41:33 +0100
committersj <sj@openoffice.org>2010-11-23 10:41:33 +0100
commitf40a4108f21c4909061ee8c4db252dbc77ac933b (patch)
treeedecab5325892459de1f1f10565f9f0fcb732cf2
parent78a03db7e1092f0edad88004eb809a99c823e842 (diff)
os145: #b7001886# improved ppt import filter
-rw-r--r--filter/source/msfilter/svdfppt.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index 8eea20402..46a4881f1 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -1475,9 +1475,9 @@ SdrPowerPointImport::SdrPowerPointImport( PowerPointImportParam& rParam, const S
if ( bOk && ( nPersistPtrAnz < ( SAL_MAX_UINT32 / sizeof( UINT32 ) ) ) )
pPersistPtr = new (std::nothrow) UINT32[ nPersistPtrAnz ];
- if ( bOk && !pPersistPtr )
+ if ( !pPersistPtr )
bOk = FALSE;
- else
+ if ( bOk )
{
memset( pPersistPtr, 0x00, nPersistPtrAnz * 4 );