diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-18 15:59:46 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-19 13:25:54 +0100 |
commit | be94207ecb88a9005ee6624e354d70c9613d7653 (patch) | |
tree | e57c6534adaea7930e7eac95f3b77c4e37ac452e /sd/source | |
parent | 7d9a5d886f4ba5c61d3c5602a9825510c68eea41 (diff) |
new loplugin:emptyif
Change-Id: I1092115a0ceb3a5e6680a4b724b129f98a892c42
Reviewed-on: https://gerrit.libreoffice.org/48128
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/filter/ppt/pptinanimations.cxx | 7 | ||||
-rw-r--r-- | sd/source/ui/func/fuconrec.cxx | 3 | ||||
-rw-r--r-- | sd/source/ui/func/futempl.cxx | 3 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx | 5 |
4 files changed, 0 insertions, 18 deletions
diff --git a/sd/source/filter/ppt/pptinanimations.cxx b/sd/source/filter/ppt/pptinanimations.cxx index 01bdde01703a..3c39ec67961f 100644 --- a/sd/source/filter/ppt/pptinanimations.cxx +++ b/sd/source/filter/ppt/pptinanimations.cxx @@ -915,13 +915,6 @@ void AnimationImporter::fillNode( Reference< XAnimationNode > const & xNode, con } // TODO: DFF_ANIM_PATH_EDIT_MODE - if( rSet.hasProperty( DFF_ANIM_PATH_EDIT_MODE ) ) - { - sal_Int32 nPathEditMode ; - if( rSet.getProperty( DFF_ANIM_PATH_EDIT_MODE ) >>= nPathEditMode ) - { - } - } // set user data Sequence< NamedValue > aUserData; diff --git a/sd/source/ui/func/fuconrec.cxx b/sd/source/ui/func/fuconrec.cxx index 6f1116916cd3..b9b52738a0b1 100644 --- a/sd/source/ui/func/fuconrec.cxx +++ b/sd/source/ui/func/fuconrec.cxx @@ -491,9 +491,6 @@ void FuConstructRectangle::SetAttributes(SfxItemSet& rAttr, SdrObject* pObj) OUString aStr(SdResId(STR_LAYER_MEASURELINES)); pObj->SetLayer(rAdmin.GetLayerID(aStr)); } - else if (nSlotId == OBJ_CUSTOMSHAPE ) - { - } } /** diff --git a/sd/source/ui/func/futempl.cxx b/sd/source/ui/func/futempl.cxx index 34b25bea7e16..a7f8412d5d82 100644 --- a/sd/source/ui/func/futempl.cxx +++ b/sd/source/ui/func/futempl.cxx @@ -365,9 +365,6 @@ void FuTemplate::DoExecute( SfxRequest& rReq ) pPresDlg.disposeAndReset(pFact ? pFact->CreateSdPresLayoutTemplateDlg( mpDocSh, mpViewShell->GetActiveWindow(), bBackground, *pStyleSheet, ePO, pSSPool ) : nullptr); } } - else if (eFamily == SD_STYLE_FAMILY_CELL) - { - } sal_uInt16 nResult = RET_CANCEL; const SfxItemSet* pOutSet = nullptr; diff --git a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx index bd5271954aa8..7652ee526694 100644 --- a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx +++ b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx @@ -343,11 +343,6 @@ SdPage* SlideSorterViewShell::GetActualPage() pCurrentPage = pDescriptor->GetPage(); } - if (pCurrentPage == nullptr) - { - - } - return pCurrentPage; } |