summaryrefslogtreecommitdiff
path: root/sd/source/filter/ppt
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-05-09 05:11:08 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-05-09 23:29:45 +0200
commit26d7485ab30062c654612b2b8496af6331dade43 (patch)
treec1ecdae2ce4676784181d7de7c53a63c615a1ab2 /sd/source/filter/ppt
parent67b944c021703f82b62b1faeaa8665a630ab425f (diff)
icoverity#705451: comparison of array against NULL
Change-Id: I544760548866d55807a3291a31b4ce948a751946
Diffstat (limited to 'sd/source/filter/ppt')
-rw-r--r--sd/source/filter/ppt/pptin.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index a0a590096213..30e90f2ec456 100644
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -1413,9 +1413,7 @@ void ImplSdPPTImport::SetHeaderFooterPageSettings( SdPage* pPage, const PptSlide
pPage->NbcInsertObject( pObj, 0 );
}
}
- String aPlaceHolderString;
- if ( pHFE->pPlaceholder )
- aPlaceHolderString = pHFE->pPlaceholder[ i ];
+ String aPlaceHolderString = pHFE->pPlaceholder[ i ];
sd::HeaderFooterSettings rHeaderFooterSettings( pPage->getHeaderFooterSettings() );
switch( i )