diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-29 21:13:34 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-29 21:15:22 +0000 |
commit | f754176e0fe5a4780694450f65810466e0f4bd99 (patch) | |
tree | 665e250340c95e8ce386be7141c86adef14e6a25 /sd | |
parent | 77e662100c5f84752fd26fbfb24f4dd458d2e66f (diff) |
coverity#1194898 Logically dead code
Change-Id: Iceef129ed11ab4551008eedf765ec0fe5a72c09a
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/stlfamily.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sd/source/core/stlfamily.cxx b/sd/source/core/stlfamily.cxx index e75c9f11e995..d59d6c1f99b1 100644 --- a/sd/source/core/stlfamily.cxx +++ b/sd/source/core/stlfamily.cxx @@ -83,10 +83,6 @@ PresStyleMap& SdStyleFamilyImpl::getStyleSheets() { // we assume that we have only SdStyleSheets SdStyleSheet* pSdStyle = static_cast< SdStyleSheet* >( pStyle ); - if (!pSdStyle) - { - continue; - } if (pSdStyle->GetName().startsWith(aLayoutName)) { maStyleSheets[ pSdStyle->GetApiName() ] = rtl::Reference< SdStyleSheet >( pSdStyle ); |