summaryrefslogtreecommitdiff
path: root/sd/source/ui/func
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-18 15:59:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-19 13:25:54 +0100
commitbe94207ecb88a9005ee6624e354d70c9613d7653 (patch)
treee57c6534adaea7930e7eac95f3b77c4e37ac452e /sd/source/ui/func
parent7d9a5d886f4ba5c61d3c5602a9825510c68eea41 (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/ui/func')
-rw-r--r--sd/source/ui/func/fuconrec.cxx3
-rw-r--r--sd/source/ui/func/futempl.cxx3
2 files changed, 0 insertions, 6 deletions
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;