diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-24 08:52:53 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-24 09:09:57 +0000 |
commit | 86895c6d30d3b34375ce81e60f0db1de250f3841 (patch) | |
tree | cd18d5b3bae8ba2b57d3f7a12c6bc34cebabbb43 /sd/source | |
parent | 635d4b0eb8ccdec84d78c9b1d2aa113f6250e1f2 (diff) |
coverity#1399550 Dereference after null check
Change-Id: I4a1ba212b64c7b561f0c1b1f7f75fe255c8d1415
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/unoidl/unopage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx index 52cbf5b82d68..80b820a975ca 100644 --- a/sd/source/ui/unoidl/unopage.cxx +++ b/sd/source/ui/unoidl/unopage.cxx @@ -2703,7 +2703,7 @@ Any SdGenericDrawPage::getNavigationOrder() // class SdMasterPage SdMasterPage::SdMasterPage( SdXImpressDocument* pModel, SdPage* pPage ) throw() -: SdGenericDrawPage( pModel, pPage, ImplGetMasterPagePropertySet( pPage ? pPage->GetPageKind() : PageKind::Standard ) ) + : SdGenericDrawPage(pModel, pPage, ImplGetMasterPagePropertySet(pPage->GetPageKind())) { } |