diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-10 14:46:28 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-10 16:08:03 +0100 |
commit | 6542cffd0b899b913e4b837c668e9d78a8663c13 (patch) | |
tree | 71af49da0bf74508b76394a5f9cd220c640ebfd9 | |
parent | 62393f455afe84ffa615e0dabdb1ccb69cf0ddb2 (diff) |
coverity#1213577 Unused pointer value
Change-Id: I7e0b15b7ba48cc5af477b4ea08329d3fefe03f6e
-rw-r--r-- | sw/source/filter/html/htmlcss1.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/filter/html/htmlcss1.cxx b/sw/source/filter/html/htmlcss1.cxx index d9dbfecb45eb..634c229843c2 100644 --- a/sw/source/filter/html/htmlcss1.cxx +++ b/sw/source/filter/html/htmlcss1.cxx @@ -1378,8 +1378,7 @@ const SwPageDesc *SwCSS1Parser::GetPageDesc( sal_uInt16 nPoolId, bool bCreate ) GetPageDescFromPool( nPoolId, false ); // dazu brauchen wir auch die Nummer der neuen Vorlage - pPageDesc = FindPageDesc(pDoc, nPoolId); - OSL_ENSURE( pPageDesc==pNewPageDesc, "Seitenvorlage nicht gefunden" ); + OSL_ENSURE(pNewPageDesc == FindPageDesc(pDoc, nPoolId), "Seitenvorlage nicht gefunden"); pDoc->CopyPageDesc( *pMasterPageDesc, *pNewPageDesc, false ); |